Classe SqlServerManagementException
The SqlServerManagementException class is an exception that is raised when a SQL Server management error is encountered on the connection to the server.
Hiérarchie d'héritage
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Plus...
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public Class SqlServerManagementException _
Inherits Exception
'Utilisation
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
Le type SqlServerManagementException expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
SqlServerManagementException() | Initializes a new instance of the SqlServerManagementException class. |
![]() |
SqlServerManagementException(String) | Initializes a new instance of the SqlServerManagementException class with the specified message text. |
![]() |
SqlServerManagementException(SerializationInfo, StreamingContext) | Initializes a new instance of the SqlServerManagementException class with the specified serialization information and streaming context. |
![]() |
SqlServerManagementException(String, Exception) | Initializes a new instance of the SqlServerManagementException class with the specified message text and inner exception. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
![]() |
Data | (hérité de Exception.) |
![]() |
HelpLink | (hérité de Exception.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
Message | (hérité de Exception.) |
![]() ![]() |
ProductName | Gets the name of the product that caused the exception. |
![]() |
Source | (hérité de Exception.) |
![]() |
StackTrace | (hérité de Exception.) |
![]() |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetBaseException | (hérité de Exception.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetObjectData | Informations critiques de sécurité. (hérité de Exception.) |
![]() |
GetType | (hérité de Exception.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Exception.) |
Haut de la page
Événements
Nom | Description | |
---|---|---|
![]() |
SerializeObjectState | (hérité de Exception.) |
Haut de la page
Notes
Thread Safety
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Exemples
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Common
Hiérarchie d'héritage
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Collector.CollectorException
Microsoft.SqlServer.Management.Common.TransferException
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
Microsoft.SqlServer.Management.XEvent.XEventException