Share via


VirtualDirectoryIdParameter constructor (String)

Initializes a new instance of the VirtualDirectoryIdParameter class for the virtual directory with the specified identity 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 VirtualDirectoryIdParameter(identity)
protected VirtualDirectoryIdParameter(
    string identity
)

Parameters

  • identity
    Type: System.String

    A string containing the virtual directory identifier.

Remarks

The string identifying the virtual directory should be in the following format: ServerName#VirtualDirectoryName. If the string contains any other format, the VirtualDirectoryIdParameter(String) constructor throws a ArgumentException exception.

See also

Reference

VirtualDirectoryIdParameter class

VirtualDirectoryIdParameter members

VirtualDirectoryIdParameter overload

Microsoft.Exchange.Configuration.Tasks namespace