Share via


DirectoryServiceNamingContext.ObjectId property

Gets the GUID that uniquely identifies the naming context.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public ReadOnly Property ObjectId As Guid
    Get
'Usage
Dim instance As DirectoryServiceNamingContext
Dim value As Guid

value = instance.ObjectId
public Guid ObjectId { get; }

Property value

Type: System.Guid

See also

Reference

DirectoryServiceNamingContext class

DirectoryServiceNamingContext members

Microsoft.Office.Server.UserProfiles namespace