ServerIdParameter Constructor (String)

Initializes a new instance of the ServerIdParameter class from the specified string.

Namespace:  Microsoft.Exchange.Configuration.Tasks
Assembly:  Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)

Syntax

'Declaration
Protected Sub New ( _
    identity As String _
)
'Usage
Dim identity As String

Dim instance As New ServerIdParameter(identity)
protected ServerIdParameter(
    string identity
)

Parameters

  • identity
    Type: System.String
    An identity string for the server.

Exceptions

Exception Condition
ArgumentNullException

The identity parameter is a null reference (Nothing in Visual Basic).

ArgumentException

The identity parameter is empty

-or-

The identity parameter is not a valid server identifier.

Remarks

The ServerIdParameter(String) constructor supports identity strings in the following formats:

  • Identity strings supported by the ADObjectId base class.

  • The NETBIOS server name.

  • The fully-qualified domain name of the server.

  • The legacy DN associated with the server.

  • A special Active Directory name that identifies a server.

  • A name generated by Active Directory to resolve a name conflict.