Bagikan melalui


SqlDeploymentExecutionError Class

This class represents an error that was received by SQL Server when the deployment script was executed.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.DataSchemaError
    Microsoft.Data.Schema.Sql.SqlServerError
      Microsoft.Data.Schema.Sql.Build.SqlDeploymentExecutionError

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

Syntax

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

The SqlDeploymentExecutionError type exposes the following members.

Constructors

  Name Description
Public method SqlDeploymentExecutionError(String, Int32, ErrorSeverity, DeploymentStep, SqlError) Initializes a new instance of the SqlDeploymentExecutionError class.
Public method SqlDeploymentExecutionError(String, String, Int32, Int32, Int32, ErrorSeverity, DeploymentStep, SqlError) Initializes a new instance of the SqlDeploymentExecutionError class.

Top

Properties

  Name Description
Public property BuildErrorCode Gets the complete error code for this error. (Inherited from DataSchemaError.)
Public property Column Gets the column number where the error occurred. (Inherited from DataSchemaError.)
Public property CurrentStep Gets the step that was executed when the error occurred.
Public property Document Gets the name of the document where the error occurred. (Inherited from DataSchemaError.)
Public property Error Gets the collection of errors that were supplied by the SqlException.
Public property ErrorCode Gets the error code. (Inherited from DataSchemaError.)
Public property HelpKeyword Gets or sets the keyword to connect the error to Help documentation. (Inherited from DataSchemaError.)
Public property Line Gets the line number where the error occurred. (Inherited from DataSchemaError.)
Public property Message Gets the error message. (Inherited from DataSchemaError.)
Public property Prefix Gets the prefix for the error. (Inherited from DataSchemaError.)
Public property Severity Gets the severity assigned to the error. (Inherited from DataSchemaError.)

Top

Methods

  Name Description
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 represents the current object. (Inherited from Object.)

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