RegisteredServerException Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

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

The RegisteredServerException type exposes the following members.

Constructors

  Name Description
Public method RegisteredServerException() Initializes an instance of the RegisteredServerException class.
Public method RegisteredServerException(String) Initializes an instance of the RegisteredServerException class with the specified message.
Protected method RegisteredServerException(SerializationInfo, StreamingContext) Initializes an instance of the RegisteredServerException class with the specified serialized object data and contextual information.
Public method RegisteredServerException(String, Exception) Initializes an instance of the RegisteredServerException class with the specified message and inner exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink Gets a String value that has a link to additional information about the exception. (Overrides Exception.HelpLink.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Protected propertyStatic member ProdVer Gets a String value that specifies the version of the instance of the Database Engine that raised the exception.
Public property RegisteredServerExceptionType Gets the type of the exception.
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method Init Initializes the properties of a RegisteredServerException object
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetHelpContext Sets the help context for the exception.
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

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.

See Also

Reference

Microsoft.SqlServer.Management.RegisteredServers Namespace