Export (0) Print
Expand All

SqlServerManagementException Class

The SqlServerManagementException class is an exception that is raised when a SQL Server management error is encountered on the connection to the server.

Object
  Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      More...

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

public class SqlServerManagementException : Exception

The SqlServerManagementException type exposes the following members.

  NameDescription
Public methodSqlServerManagementException()Initializes a new instance of the SqlServerManagementException class.
Public methodSqlServerManagementException(String)Initializes a new instance of the SqlServerManagementException class with the specified message text.
Protected methodSqlServerManagementException(SerializationInfo, StreamingContext)Initializes a new instance of the SqlServerManagementException class with the specified serialization information and streaming context.
Public methodSqlServerManagementException(String, Exception)Initializes a new instance of the SqlServerManagementException class with the specified message text and inner exception.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertyStatic memberProductNameGets the name of the product that caused the exception.
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top

  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft