CreateElementStep 類別

定義

部署計畫中代表元素創建的步驟。 此類別僅用於唯讀,無法實例化。

public sealed class CreateElementStep : Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
type CreateElementStep = class
    inherit DeploymentScriptDomStep
Public NotInheritable Class CreateElementStep
Inherits DeploymentScriptDomStep
繼承

屬性

名稱 Description
IsMessageInFirstBatch

若呼叫 GenerateTSql() 時,若該步的訊息將是第一個批次,則回傳為 true。

(繼承來源 DeploymentScriptDomStep)
Message

會收到一個可選的訊息,描述該步驟

(繼承來源 DeploymentScriptDomStep)
Next

取得容器中的下一步,也就是 LinkedListNode<T> DeploymentStep 類型的 DeploymentStep。

(繼承來源 DeploymentStep)
Previous

取得容器中前一個步驟,該步驟為 LinkedListNode<T> DeploymentStep。

(繼承來源 DeploymentStep)
Script

取得這步驟的腳本。

(繼承來源 DeploymentScriptDomStep)
ScriptGenerator

取得此步驟的 ScriptGenerator

(繼承來源 DeploymentScriptDomStep)
SourceElement

取得 create element 步驟的原始元素

方法

名稱 Description
GenerateBatchScript(TextWriter)

協助者將批次腳本組寫給所提供的寫入者

(繼承來源 DeploymentStep)
GenerateTSQL()

回傳一串字串,代表部署期間要套用的一組 TSQL 腳本批次

(繼承來源 DeploymentStepInternal)
ToString()

回傳描述此步驟的字串。 基底會回傳步進的類型

(繼承來源 DeploymentStepInternal)

適用於