Classe RegisteredServerException

The RegisteredServerException enumeration contains values that determine the kind of exception that was generated by the Registered Servers service.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.RegisteredServers..::..RegisteredServerException
        Microsoft.SqlServer.Management.RegisteredServers. . :: . .InvalidSqlServer2005StoreFormatException

Espace de noms :  Microsoft.SqlServer.Management.RegisteredServers
Assembly :  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class RegisteredServerException _
    Inherits SqlServerManagementException
'Utilisation
Dim instance As RegisteredServerException
[SerializableAttribute]
public class RegisteredServerException : SqlServerManagementException
[SerializableAttribute]
public ref class RegisteredServerException : public SqlServerManagementException
[<SerializableAttribute>]
type RegisteredServerException =  
    class
        inherit SqlServerManagementException
    end
public class RegisteredServerException extends SqlServerManagementException

Le type RegisteredServerException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique RegisteredServerException() () () () Initializes an instance of the RegisteredServerException class.
Méthode publique RegisteredServerException(String) Initializes an instance of the RegisteredServerException class with the specified message.
Méthode protégée RegisteredServerException(SerializationInfo, StreamingContext) Initializes an instance of the RegisteredServerException class with the specified serialized object data and contextual information.
Méthode publique RegisteredServerException(String, Exception) Initializes an instance of the RegisteredServerException class with the specified message and inner exception.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink Gets a String value that has a link to additional information about the exception. (remplace Exception. . :: . .HelpLink.)
Propriété protégée HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété protégéeMembre statique ProdVer Gets a String value that specifies the version of the instance of the Database Engine that raised the exception.
Propriété publique RegisteredServerExceptionType Gets the type of the exception.
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData (hérité de Exception.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée Init Initializes the properties of a RegisteredServerException object
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée SetHelpContext Sets the help context for the exception.
Méthode publique ToString (hérité de Exception.)

Haut de la page

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

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.