DirectoryObjectClassAttribute(String) Constructor

Definition

Initializes a new instance of the DirectoryObjectClassAttribute class with the specified object class value. The object created in the directory will be created with this object class type.

public:
 DirectoryObjectClassAttribute(System::String ^ objectClass);
public DirectoryObjectClassAttribute (string objectClass);
new System.DirectoryServices.AccountManagement.DirectoryObjectClassAttribute : string -> System.DirectoryServices.AccountManagement.DirectoryObjectClassAttribute
Public Sub New (objectClass As String)

Parameters

objectClass
String

The string that contains the object class value. The ObjectClass property is initialized to this value. The object class string represents the objectClass attribute for the application directory and domain directories.

Applies to

See also