ISchemaDeploymentController.CreateScript Method
When implemented in a derived class, uses the value of the Deployment property to create the script by using the provided plan. This method then prepares the provided text writer to write the script.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
)
Parameters
- plan
Type: Microsoft.Data.Schema.Build.DeploymentPlan
The DeploymentPlan object.
- scriptOutput
Type: System.IO.TextWriter
A TextWriter that your code can use to write the script.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ISchemaDeploymentController Interface
Microsoft.Data.Schema.Build Namespace
SchemaDeploymentCreateScript(DeploymentPlan, TextWriter)