Compartilhar via


CSEntry.ObjectType Property

Gets the name of the object type of the connector space entry.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As CSEntry
Dim value As String

value = instance.ObjectType

Syntax

'Declaration
Public MustOverride ReadOnly Property ObjectType As String
public abstract string ObjectType { get; }
public:
virtual property String^ ObjectType {
    String^ get () abstract;
}
/** @property */
public abstract String get_ObjectType ()
public abstract function get ObjectType () : String

Property Value

Returns a String.

Remarks

The ObjectClass property usually returns a ValueCollection object with a single entry that has the same value as the ObjectType property. For file-based management agents, the ObjectClass property returns a ValueCollection object that contains one item, and the ObjectType property returns a String. For the Active Directory management agent, the ObjectClass property returns multiple items in its ValueCollection object, and the ObjectType property returns only the primary object type. For example, for a user object, the ObjectClass property returns top, person, organizationalPerson, and user. The ObjectType property returns user. Use the ObjectType property 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

CSEntry Class
CSEntry Members
Microsoft.MetadirectoryServices Namespace
CSEntry.ObjectClass Property
ValueCollection
CSEntry Class