SqlChangeDatabaseStep Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The step in deployment step that represents change database. This class is for read-only purpose and cannot be instantiated.
public sealed class SqlChangeDatabaseStep : Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
type SqlChangeDatabaseStep = class
inherit DeploymentScriptDomStep
Public NotInheritable Class SqlChangeDatabaseStep
Inherits DeploymentScriptDomStep
- Inheritance
Properties
DatabaseName |
Gets the database name |
IsMessageInFirstBatch |
Returns true if the step's message will be the first batch when calling GenerateTSql() (Inherited from DeploymentScriptDomStep) |
Message |
Gets an optional message describing the step (Inherited from DeploymentScriptDomStep) |
Next |
Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep) |
Previous |
Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep) |
Script |
Gets the script for this step. (Inherited from DeploymentScriptDomStep) |
ScriptGenerator |
Gets the ScriptGenerator for this step (Inherited from DeploymentScriptDomStep) |
Methods
GenerateBatchScript(TextWriter) |
Helper that writes the set of batch scripts to the provided writer (Inherited from DeploymentStep) |
GenerateTSQL() |
Returns a list of strings that represent a set of TSQL script batches to be applied during deployment (Inherited from DeploymentStepInternal) |
ToString() |
Returns a string that describes this step. The base returns the type of the step (Inherited from DeploymentStepInternal) |