Delen via


RegisteredServerException Constructor (String)

Initializes a new instance of the RegisteredServerException class with the specified message.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String 

Dim instance As New RegisteredServerException(message)
public RegisteredServerException(
    string message
)
public:
RegisteredServerException(
    String^ message
)
new : 
        message:string -> RegisteredServerException
public function RegisteredServerException(
    message : String
)

Parameters

  • message
    Type: System.String
    A String value that specifies the message string for the Registered Server exception.

See Also

Reference

RegisteredServerException Class

RegisteredServerException Overload

Microsoft.SqlServer.Management.Smo.RegSvrEnum Namespace