Partager via


ADObjectId constructor (String, Guid)

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, _
    objectGuid As Guid _
)
'Usage
Dim distinguishedName As String
Dim objectGuid As Guid

Dim instance As New ADObjectId(distinguishedName, _
    objectGuid)
public ADObjectId(
    string distinguishedName,
    Guid objectGuid
)

Parameters

  • distinguishedName
    Type: System.String

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

  • objectGuid
    Type: System.Guid

    The unique identifier of the object.

See also

Reference

ADObjectId class

ADObjectId members

ADObjectId overload

Microsoft.Exchange.Data.Directory namespace