共用方式為


SqlCreateDatabaseStep 類別

The step in deployment that represents database creation. This class is for read-only purpose and cannot be instantiated.

繼承階層

System.Object
  Microsoft.SqlServer.Dac.Deployment.DeploymentStep
    Microsoft.SqlServer.Dac.Deployment.DeploymentStepInternal
      Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
        Microsoft.SqlServer.Dac.Deployment.SqlCreateDatabaseStep

命名空間:  Microsoft.SqlServer.Dac.Deployment
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public NotInheritable Class SqlCreateDatabaseStep _
    Inherits DeploymentScriptDomStep
'用途
Dim instance As SqlCreateDatabaseStep
public sealed class SqlCreateDatabaseStep : DeploymentScriptDomStep
public ref class SqlCreateDatabaseStep sealed : public DeploymentScriptDomStep
[<SealedAttribute>]
type SqlCreateDatabaseStep =  
    class 
        inherit DeploymentScriptDomStep 
    end
public final class SqlCreateDatabaseStep extends DeploymentScriptDomStep

SqlCreateDatabaseStep 型別公開下列成員。

屬性

  名稱 說明
公用屬性 IsMessageInFirstBatch Returns true if the step's message will be the first batch when calling GenerateTSql() (繼承自 DeploymentScriptDomStep。)
公用屬性 Message Gets an optional message describing the step (繼承自 DeploymentScriptDomStep。)
公用屬性 Next Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (繼承自 DeploymentStep。)
公用屬性 Previous Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (繼承自 DeploymentStep。)
公用屬性 Script Gets the script for this step. (繼承自 DeploymentScriptDomStep。)
公用屬性 ScriptGenerator Gets the ScriptGenerator for this step (繼承自 DeploymentScriptDomStep。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GenerateBatchScript Returns a helper that writes the set of batch scripts to the provided writer. (繼承自 DeploymentStep。)
公用方法 GenerateTSQL Returns a list of strings that represent a set of TSQL script batches to be applied during deployment (繼承自 DeploymentStepInternal。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString Returns a string that describes this step. The base returns the type of the step (繼承自 DeploymentStepInternal。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dac.Deployment 命名空間