ISmoScriptWriter.ScriptContext(String, Urn) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
写入一个字符串,该字符串指定要编写脚本的数据库。 数据库上下文相当于数据库脚本的 USE [Database] 段。
public void ScriptContext(string databaseContext, Microsoft.SqlServer.Management.Sdk.Sfc.Urn obj);
abstract member ScriptContext : string * Microsoft.SqlServer.Management.Sdk.Sfc.Urn -> unit
Public Sub ScriptContext (databaseContext As String, obj As Urn)
参数
- databaseContext
- String
指定要编写脚本的数据库的字符串。
- obj
- Urn
T:Microsoft。用于脚本的 SqlServer.Management.Sdk.Sfc.Urn。