Condividi tramite


Classe RegisteredServerException

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public Class RegisteredServerException _
    Inherits SqlServerManagementException
'Utilizzo
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

Nel tipo RegisteredServerException sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico RegisteredServerException() Initializes an instance of the RegisteredServerException class.
Metodo pubblico RegisteredServerException(String) Initializes an instance of the RegisteredServerException class with the specified message.
Metodo protetto RegisteredServerException(SerializationInfo, StreamingContext) Initializes an instance of the RegisteredServerException class with the specified serialized object data and contextual information.
Metodo pubblico RegisteredServerException(String, Exception) Initializes an instance of the RegisteredServerException class with the specified message and inner exception.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Data Ereditato da Exception.
Proprietà pubblica HelpLink Gets a String value that has a link to additional information about the exception. Esegue l'override di Exception.HelpLink.
Proprietà pubblica HResult Ereditato da Exception.
Proprietà pubblica InnerException Ereditato da Exception.
Proprietà pubblica Message Ereditato da Exception.
Proprietà protettaMembro statico ProdVer Gets a String value that specifies the version of the instance of the Database Engine that raised the exception.
Proprietà pubblica RegisteredServerExceptionType Gets the type of the exception.
Proprietà pubblica Source Ereditato da Exception.
Proprietà pubblica StackTrace Ereditato da Exception.
Proprietà pubblica TargetSite Ereditato da Exception.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetBaseException Ereditato da Exception.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetObjectData Criticità per la sicurezza. Ereditato da Exception.
Metodo pubblico GetType Ereditato da Exception.
Metodo protetto Init Initializes the properties of a RegisteredServerException object
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto SetHelpContext Sets the help context for the exception.
Metodo pubblico ToString Ereditato da Exception.

In alto

Eventi

  Nome Descrizione
Evento protetto SerializeObjectState Ereditato da Exception.

In alto

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.RegisteredServers