ISchemaDeploymentController.CreateScript 方法
在衍生類別中實作時,使用 Deployment 屬性的值利用所提供計劃來建立指令碼。 然後,這個方法準備提供的文字寫入器以寫入指令碼。
命名空間: Microsoft.Data.Schema.Build
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Sub CreateScript ( _
plan As DeploymentPlan, _
scriptOutput As TextWriter _
)
void CreateScript(
DeploymentPlan plan,
TextWriter scriptOutput
)
void CreateScript(
DeploymentPlan^ plan,
TextWriter^ scriptOutput
)
abstract CreateScript :
plan:DeploymentPlan *
scriptOutput:TextWriter -> unit
function CreateScript(
plan : DeploymentPlan,
scriptOutput : TextWriter
)
參數
- scriptOutput
型別:System.IO.TextWriter
您的程式碼可以用來撰寫指令碼的 TextWriter。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
ISchemaDeploymentController 介面
Microsoft.Data.Schema.Build 命名空間
SchemaDeploymentCreateScript(DeploymentPlan, TextWriter)