Bagikan melalui


SqlPrintStep Class

A type of step in a SQL Server deployment plan that signifies a Transact-SQL PRINT statement.

Inheritance Hierarchy

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

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

Syntax

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

The SqlPrintStep type exposes the following members.

Constructors

  Name Description
Public method SqlPrintStep() Initializes a new instance of the SqlPrintStep class.
Public method SqlPrintStep(TSqlScript, ScriptGenerator) Initializes a new instance of the SqlPrintStep 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.)
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