Classe SqlChangeDatabaseStep
The step in deployment step that represents change database. This class is for read-only purpose and cannot be instantiated.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Dac.Deployment.DeploymentStep
Microsoft.SqlServer.Dac.Deployment.DeploymentStepInternal
Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
Microsoft.SqlServer.Dac.Deployment.SqlChangeDatabaseStep
Namespace: Microsoft.SqlServer.Dac.Deployment
Assembly: Microsoft.SqlServer.Dac.Extensions (em Microsoft.SqlServer.Dac.Extensions.dll)
Sintaxe
'Declaração
Public NotInheritable Class SqlChangeDatabaseStep _
Inherits DeploymentScriptDomStep
'Uso
Dim instance As SqlChangeDatabaseStep
public sealed class SqlChangeDatabaseStep : DeploymentScriptDomStep
public ref class SqlChangeDatabaseStep sealed : public DeploymentScriptDomStep
[<SealedAttribute>]
type SqlChangeDatabaseStep =
class
inherit DeploymentScriptDomStep
end
public final class SqlChangeDatabaseStep extends DeploymentScriptDomStep
O tipo SqlChangeDatabaseStep expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
DatabaseName | Gets the database name | |
IsMessageInFirstBatch | Returns true if the step's message will be the first batch when calling GenerateTSql() (Herdado de DeploymentScriptDomStep.) | |
Message | Gets an optional message describing the step (Herdado de DeploymentScriptDomStep.) | |
Next | Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Herdado de DeploymentStep.) | |
Previous | Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Herdado de DeploymentStep.) | |
Script | Gets the script for this step. (Herdado de DeploymentScriptDomStep.) | |
ScriptGenerator | Gets the ScriptGenerator for this step (Herdado de DeploymentScriptDomStep.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
GenerateBatchScript | Returns a helper that writes the set of batch scripts to the provided writer. (Herdado de DeploymentStep.) | |
GenerateTSQL | Returns a list of strings that represent a set of TSQL script batches to be applied during deployment (Herdado de DeploymentStepInternal.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
ToString | Returns a string that describes this step. The base returns the type of the step (Herdado de DeploymentStepInternal.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.