Partager via


ADObjectId constructor (String)

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

Namespace:  Microsoft.Exchange.Data.Directory
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

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

Dim instance As New ADObjectId(distinguishedName)
public ADObjectId(
    string distinguishedName
)

Parameters

  • distinguishedName
    Type: System.String

    The distinguished name of the object in Active Directory Domain Services.

Remarks

Calling the ADObjectId(String) constructor is equivalent to calling the ADObjectId(String, Guid) constructor with the guid parameter set to Guid.Empty.

See also

Reference

ADObjectId class

ADObjectId members

ADObjectId overload

Microsoft.Exchange.Data.Directory namespace