Sdílet prostřednictvím


DeploymentScriptStep Class

Represents the step in deployment plan that represents deploying scripts. This class can be instantiated and used by extensions.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dac.Deployment.DeploymentStep
    Microsoft.SqlServer.Dac.Deployment.DeploymentStepInternal
      Microsoft.SqlServer.Dac.Deployment.DeploymentScriptStep
        Microsoft.SqlServer.Dac.Deployment.SqlBeginTransactionStep
        Microsoft.SqlServer.Dac.Deployment.SqlEndTransactionStep

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

Syntax

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

The DeploymentScriptStep type exposes the following members.

Constructors

  Name Description
Public method DeploymentScriptStep(IEnumerable<String>) Initializes a new instance of the DeploymentScriptStep class with multiple TSQL scripts.
Public method DeploymentScriptStep(String) Initializes a new instance of the DeploymentScriptStep class.

Top

Properties

  Name Description
Public property Next Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep.)
Public property Previous Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateBatchScript Returns a helper that writes the set of batch scripts to the provided writer. (Inherited from DeploymentStep.)
Public method GenerateTSQL Returns a list of strings that represent a set of TSQL script batches to be applied during deployment (Inherited from DeploymentStepInternal.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a string that describes this step. The base returns the type of the step (Inherited from DeploymentStepInternal.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dac.Deployment Namespace