Microsoft Identity Integration Server 2003 Developer Reference |
Note You can write to this property only in the IMVSynchronization.Provision method.
[C#]
public ValueCollection ObjectClass {get; set;}
[Visual Basic .NET]
Public Property ObjectClass As ValueCollection
Exception type | Condition |
---|---|
ArgumentNullException | The property value is null. |
InvalidOperationException | There are no object classes or the CSEntry object is a disconnector object. |
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
to determine the type of a connector space object, such as if you
want to determine whether an object is a user or a group.
Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in
Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.
CSEntry, ValueCollection, Provisioning Objects in the Connector Space, Example: Changing the ObjectClass Property