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.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Class SqlServerManagementException _
Inherits Exception
'Usage
Dim instance As SqlServerManagementException
public class SqlServerManagementException : Exception
public ref class SqlServerManagementException : public Exception
type SqlServerManagementException =
class
inherit Exception
end
public class SqlServerManagementException extends Exception
Remarks
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.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Common.TransferException
Microsoft.SqlServer.Management.Dmf.DmfException
Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Trace.SqlTraceException
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.