Share via


SqlServerError Members

Include Protected Members
Include Inherited Members

Represents the SQL server error.

The SqlServerError type exposes the following members.

Constructors

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

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 attempt to free resources and perform other cleanup operations before the Object 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.)
Protected method PopulateMessage Returns the error message string. (Inherited from DataSchemaError.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Column Gets the column number of the error. (Inherited from DataSchemaError.)
Public property Document Gets the file name of the error. (Inherited from DataSchemaError.)
Public property ErrorCode Gets the error code. (Inherited from DataSchemaError.)
Public property HelpKeyword Gets or sets the help topic ID, if one exists. (Inherited from DataSchemaError.)
Public property Line Gets the line number of the error. (Inherited from DataSchemaError.)
Public property Message Gets the error message string. (Inherited from DataSchemaError.)
Public property Severity Gets the error severity value. (Inherited from DataSchemaError.)

Top

See Also

Reference

SqlServerError Class

Microsoft.Data.Schema.Sql.Common Namespace