DeploymentStep Class

Represents a step in a deployment plan.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Build.DeploymentStep
    More...

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public MustInherit Class DeploymentStep
public abstract class DeploymentStep
public ref class DeploymentStep abstract
[<AbstractClass>]
type DeploymentStep =  class end
public abstract class DeploymentStep

The DeploymentStep type exposes the following members.

Constructors

  Name Description
Protected method DeploymentStep Initializes a new instance of the DeploymentStep class.

Top

Properties

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

Top

Methods

  Name Description
Public method Action When implemented in a derived class, returns a string that represents the script text to implement this step.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that describes this step. (Overrides Object.ToString().)

Top

Remarks

Notes to Inheritors

You will want to override the Action method that by default returns an empty string. You may also want to override the ToString method that, by default, returns the type of step.

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.Data.Schema.Build Namespace

Action

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Build.DeploymentStep
    Microsoft.Data.Schema.Build.BeginPostDeploymentScriptStep
    Microsoft.Data.Schema.Build.BeginPreDeploymentScriptStep
    Microsoft.Data.Schema.Build.DeploymentScriptDomStep
    Microsoft.Data.Schema.Build.DeploymentScriptStep
    Microsoft.Data.Schema.Build.EndPostDeploymentScriptStep
    Microsoft.Data.Schema.Build.EndPreDeploymentScriptStep
    Microsoft.Data.Schema.Sql.Build.SqlBeginAltersStep
    Microsoft.Data.Schema.Sql.Build.SqlBeginDropsStep
    Microsoft.Data.Schema.Sql.Build.SqlBeginPreservationStep
    Microsoft.Data.Schema.Sql.Build.SqlEndAltersStep
    Microsoft.Data.Schema.Sql.Build.SqlEndDropsStep
    Microsoft.Data.Schema.Sql.Build.SqlEndPreservationStep