Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlChangeDatabaseStep Class

SQL Server 2012

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

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
public sealed class SqlChangeDatabaseStep : DeploymentScriptDomStep

The SqlChangeDatabaseStep type exposes the following members.

  NameDescription
Public propertyDatabaseNameGets the database name
Public propertyIsMessageInFirstBatchReturns true if the step's message will be the first batch when calling GenerateTSql() (Inherited from DeploymentScriptDomStep.)
Public propertyMessageGets an optional message describing the step (Inherited from DeploymentScriptDomStep.)
Public propertyNextGets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep.)
Public propertyPreviousGets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep.)
Public propertyScriptGets the script for this step. (Inherited from DeploymentScriptDomStep.)
Public propertyScriptGeneratorGets the ScriptGenerator for this step (Inherited from DeploymentScriptDomStep.)
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGenerateBatchScriptReturns a helper that writes the set of batch scripts to the provided writer. (Inherited from DeploymentStep.)
Public methodGenerateTSQLReturns a list of strings that represent a set of TSQL script batches to be applied during deployment (Inherited from DeploymentStepInternal.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToStringReturns a string that describes this step. The base returns the type of the step (Inherited from DeploymentStepInternal.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.