DeploymentScriptStep 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| DeploymentScriptStep(IEnumerable<String>) |
初始化 a DeploymentScriptStep 並使用多個 TSQL 腳本 |
| DeploymentScriptStep(String) |
建立一個 DeploymentScriptStep |
DeploymentScriptStep(IEnumerable<String>)
初始化 a DeploymentScriptStep 並使用多個 TSQL 腳本
public DeploymentScriptStep(System.Collections.Generic.IEnumerable<string> batches);
new Microsoft.SqlServer.Dac.Deployment.DeploymentScriptStep : seq<string> -> Microsoft.SqlServer.Dac.Deployment.DeploymentScriptStep
Public Sub New (batches As IEnumerable(Of String))
參數
- batches
- IEnumerable<String>
IEnumerable<T> 代表 TSQL 腳本的字串
適用於
DeploymentScriptStep(String)
建立一個 DeploymentScriptStep
public DeploymentScriptStep(string text);
new Microsoft.SqlServer.Dac.Deployment.DeploymentScriptStep : string -> Microsoft.SqlServer.Dac.Deployment.DeploymentScriptStep
Public Sub New (text As String)
參數
- text
- String
從腳本到部署