从脚本片段生成脚本。
命名空间: Microsoft.Data.Schema.ScriptDom
程序集: Microsoft.Data.Schema.ScriptDom(在 Microsoft.Data.Schema.ScriptDom.dll 中)
语法
声明
Public Sub GenerateScript ( _
scriptFragment As IScriptFragment, _
<OutAttribute> ByRef script As String _
)
public void GenerateScript(
IScriptFragment scriptFragment,
out string script
)
public:
void GenerateScript(
IScriptFragment^ scriptFragment,
[OutAttribute] String^% script
)
member GenerateScript :
scriptFragment:IScriptFragment *
script:string byref -> unit
public function GenerateScript(
scriptFragment : IScriptFragment,
script : String
)
参数
- scriptFragment
类型:Microsoft.Data.Schema.ScriptDom.IScriptFragment
要生成脚本的脚本片段。
- script
类型:System.String%
生成的脚本。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。