SqlPrintStep 類別

定義

這是 SQL 部署計畫中一種步驟,代表 SQL 的「print」陳述式。 此類別僅用於唯讀,無法實例化。

public sealed class SqlPrintStep : Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
type SqlPrintStep = class
    inherit DeploymentScriptDomStep
Public NotInheritable Class SqlPrintStep
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)

方法

名稱 Description
GenerateBatchScript(TextWriter)

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

(繼承來源 DeploymentStep)
GenerateTSQL()

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

(繼承來源 DeploymentStepInternal)
ToString()

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

(繼承來源 DeploymentStepInternal)

適用於