Bagikan melalui


SqlRenameStep Class

Represents a step in the deployment plan that renames an element.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Build.DeploymentStep
    Microsoft.Data.Schema.Build.DeploymentScriptDomStep
      Microsoft.Data.Schema.Sql.Build.SqlRenameStep

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

Syntax

'Declaration
Public NotInheritable Class SqlRenameStep _
    Inherits DeploymentScriptDomStep
public sealed class SqlRenameStep : DeploymentScriptDomStep
public ref class SqlRenameStep sealed : public DeploymentScriptDomStep
[<Sealed>]
type SqlRenameStep =  
    class
        inherit DeploymentScriptDomStep
    end
public final class SqlRenameStep extends DeploymentScriptDomStep

The SqlRenameStep type exposes the following members.

Constructors

  Name Description
Public method SqlRenameStep Initializes a new instance of the SqlRenameStep class.

Top

Properties

  Name Description
Public property NewName Gets the new name of the element that is renamed.
Public property Next Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep.)
Public property OldName Gets the old name of the element that is renamed.
Public property Previous Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep.)
Public property RenamedElement Gets the element that is renamed.
Public property Script Gets or sets the script for this step. (Inherited from DeploymentScriptDomStep.)
Public property ScriptGenerator Gets or sets the script generator for this step. (Inherited from DeploymentScriptDomStep.)

Top

Methods

  Name Description
Public method Action Returns a script that is created from the script fragment. (Inherited from DeploymentScriptDomStep.)
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. (Inherited from DeploymentStep.)

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