CSEntry.ObjectType Property
The ObjectType property retrieves the name of the object type of the connector space entry.
public String ObjectType {get;}
Public ReadOnly Property ObjectType As String
Remarks
The ObjectClass property usually returns a ValueCollection with a single entry that has the same value as the ObjectType property. For file-based management agents, the ObjectClass property returns a ValueCollection that contains one item, and ObjectType returns a String. For the Active Directory management agent, ObjectClass returns multiple items in its ValueCollection, and ObjectType returns only the primary object type. For example, for a "user" object, ObjectClass returns "top", "person", "organizationalPerson", and "user"; ObjectType returns "user". Use ObjectType in your process to determine the type of a connector space object, for example if you want to determine whether an object is a user or a group.
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
Send comments about this topic to Microsoft
Build date: 2/16/2009