Edit

DirectoryObjectClassAttribute Class

Definition

Represents the schema object that is used to create an object of this type in the directory. This attribute is required for principal extensions and can only be set on classes.

public ref class DirectoryObjectClassAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class DirectoryObjectClassAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type DirectoryObjectClassAttribute = class
    inherit Attribute
Public NotInheritable Class DirectoryObjectClassAttribute
Inherits Attribute
Inheritance
DirectoryObjectClassAttribute
Attributes

Constructors

Name Description
DirectoryObjectClassAttribute(String)

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.

Properties

Name Description
Context

This property is not implemented and always returns null.

ObjectClass

Returns the object class value for the extended class.

Applies to