Partager via


ADObjectId.GetChildId method (String, String)

Returns the Active Directory object identifier of the specified child object in Active Directory Domain Services.

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

Syntax

'Declaration
Public Function GetChildId ( _
    prefix As String, _
    unescapedCommonName As String _
) As ADObjectId
'Usage
Dim instance As ADObjectId
Dim prefix As String
Dim unescapedCommonName As String
Dim returnValue As ADObjectId

returnValue = instance.GetChildId(prefix, _
    unescapedCommonName)
public ADObjectId GetChildId(
    string prefix,
    string unescapedCommonName
)

Parameters

  • prefix
    Type: System.String

    The prefix to use to distinguish the object name.

  • unescapedCommonName
    Type: System.String

    The name of the child object.

Return value

Type: Microsoft.Exchange.Data.Directory.ADObjectId
The Active Directory object identifier for the specified child object.

See also

Reference

ADObjectId class

ADObjectId members

GetChildId overload

Microsoft.Exchange.Data.Directory namespace