Deployment.SetDeployToScript Method
Sets whether to deploy to script.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub SetDeployToScript ( _
deployToScript As Boolean, _
scriptPath As String _
)
'Usage
Dim instance As Deployment
Dim deployToScript As Boolean
Dim scriptPath As String
instance.SetDeployToScript(deployToScript, _
scriptPath)
public void SetDeployToScript(
bool deployToScript,
string scriptPath
)
public:
void SetDeployToScript(
bool deployToScript,
String^ scriptPath
)
public function SetDeployToScript(
deployToScript : boolean,
scriptPath : String
)
member SetDeployToScript :
deployToScript:bool *
scriptPath:string -> unit
Parameters
- deployToScript
Type: System.Boolean
Specifies whether to deploy to script
- scriptPath
Type: System.String
The script path
Remarks
If scriptPath is null or empty, deployToScript will be False.
.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.