共用方式為


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
)

參數

.NET Framework 安全性

請參閱

參考

ISchemaDeploymentController 介面

Microsoft.Data.Schema.Build 命名空間

SchemaDeploymentCreateScript(DeploymentPlan, TextWriter)

Deployment

DeploymentPlan