DirectoryObjectClassAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |