ScriptGenerator.GenerateScript 方法 (IScriptFragment, String%)
從指令碼片段產生指令碼。
命名空間: 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。