SqlServerManagementException-Klasse

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

Vererbungshierarchie

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common..::..SqlServerManagementException
      Mehr…

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

Der SqlServerManagementException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode SqlServerManagementException() () () () Initializes a new instance of the SqlServerManagementException class.
Öffentliche Methode SqlServerManagementException(String) Initializes a new instance of the SqlServerManagementException class with the specified message text.
Geschützte Methode SqlServerManagementException(SerializationInfo, StreamingContext) Initializes a new instance of the SqlServerManagementException class with the specified serialization information and streaming context.
Öffentliche Methode SqlServerManagementException(String, Exception) Initializes a new instance of the SqlServerManagementException class with the specified message text and inner exception.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink (Geerbt von Exception.)
Geschützte Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Öffentliche EigenschaftStatisches Element ProductName Gets the name of the product that caused the exception.
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData (Geerbt von Exception.)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Hinweise

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Vererbungshierarchie

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common..::..SqlServerManagementException
      Microsoft.SqlServer.Management.Common. . :: . .TransferException
      Microsoft.SqlServer.Management.Dac. . :: . .DacException
      Microsoft.SqlServer.Management.Dmf. . :: . .DmfException
      Microsoft.SqlServer.Management.RegisteredServers. . :: . .RegisteredServerException
      Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .EnumeratorException
      Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcException
      Microsoft.SqlServer.Management.Smo. . :: . .SmoException
      Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceException
      Microsoft.SqlServer.Management.Utility. . :: . .UtilityException