Gets the name of the object type of the connector space entry.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As CSEntry
Dim value As String

value = instance.ObjectType

Syntax

Visual Basic
Public MustOverride ReadOnly Property ObjectType As String
C#
public abstract string ObjectType { get; }
C++
public:
virtual property String^ ObjectType {
		String^ get () abstract;
}
J#
/** @property */
public abstract String get_ObjectType ()
JScript
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

[an error occurred while processing this directive]