Freigeben über


DropElementStep-Klasse

A step in deployment step that represents dropping a sql object. This class is for read-only purpose and cannot be instantiated.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Dac.Deployment.DeploymentStep
    Microsoft.SqlServer.Dac.Deployment.DeploymentStepInternal
      Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
        Microsoft.SqlServer.Dac.Deployment.DropElementStep

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public Class DropElementStep _
    Inherits DeploymentScriptDomStep
'Usage
Dim instance As DropElementStep
public class DropElementStep : DeploymentScriptDomStep
public ref class DropElementStep : public DeploymentScriptDomStep
type DropElementStep =  
    class 
        inherit DeploymentScriptDomStep 
    end
public class DropElementStep extends DeploymentScriptDomStep

Der DropElementStep-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft IsMessageInFirstBatch Returns true if the step's message will be the first batch when calling GenerateTSql() (Geerbt von DeploymentScriptDomStep.)
Öffentliche Eigenschaft Message Gets an optional message describing the step (Geerbt von DeploymentScriptDomStep.)
Öffentliche Eigenschaft Next Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Geerbt von DeploymentStep.)
Öffentliche Eigenschaft Previous Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Geerbt von DeploymentStep.)
Öffentliche Eigenschaft Script Gets the script for this step. (Geerbt von DeploymentScriptDomStep.)
Öffentliche Eigenschaft ScriptGenerator Gets the ScriptGenerator for this step (Geerbt von DeploymentScriptDomStep.)
Öffentliche Eigenschaft TargetElement Gets the target element

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GenerateBatchScript Returns a helper that writes the set of batch scripts to the provided writer. (Geerbt von DeploymentStep.)
Öffentliche Methode GenerateTSQL Returns a list of strings that represent a set of TSQL script batches to be applied during deployment (Geerbt von DeploymentStepInternal.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString Returns a string that describes this step. The base returns the type of the step (Geerbt von DeploymentStepInternal.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dac.Deployment-Namespace