ActiveDirectorySchemaClass Class

Definition

The ActiveDirectorySchemaClass class represents a schema class definition that is contained in the schema partition.

public ref class ActiveDirectorySchemaClass : IDisposable
public class ActiveDirectorySchemaClass : IDisposable
type ActiveDirectorySchemaClass = class
    interface IDisposable
Public Class ActiveDirectorySchemaClass
Implements IDisposable
Inheritance
ActiveDirectorySchemaClass
Implements

Constructors

ActiveDirectorySchemaClass(DirectoryContext, String)

Initializes a new instance of the ActiveDirectorySchemaClass object.

Properties

AuxiliaryClasses

Gets an ActiveDirectorySchemaClassCollection object that contains the auxiliary classes of the ActiveDirectorySchemaClass object.

CommonName

Gets or sets the Common Name (CN) of the ActiveDirectorySchemaClass object.

DefaultObjectSecurityDescriptor

Gets or sets the default ActiveDirectorySecurity descriptor of the ActiveDirectorySchemaClass object.

Description

Gets or sets a description of the ActiveDirectorySchemaClass object.

IsDefunct

Gets or sets a value indicating whether the ActiveDirectorySchemaClass object is defunct.

MandatoryProperties

Gets an ActiveDirectorySchemaPropertyCollection object that contains the properties that the ActiveDirectorySchemaClass must contain.

Name

Gets the ldapDisplayName of the ActiveDirectorySchemaClass object.

Oid

Gets or sets the OID for the ActiveDirectorySchemaClass object.

OptionalProperties

Gets an ActiveDirectorySchemaPropertyCollection object that contains the properties that the ActiveDirectorySchemaClass can contain.

PossibleInferiors

Gets an ActiveDirectorySchemaClassCollection object that contains the ActiveDirectorySchemaClass objects that the ActiveDirectorySchemaClass class can contain.

PossibleSuperiors

Gets an ActiveDirectorySchemaClassCollection object that contains the ActiveDirectorySchemaClass objects that can contain this class.

SchemaGuid

Gets or sets the schemaIDGUID for the ActiveDirectorySchemaClass object.

SubClassOf

Gets or sets the schema class from which the current ActiveDirectorySchemaClass object is derived.

Type

Gets or sets the SchemaClassType type for the ActiveDirectorySchemaClass object.

Methods

Dispose()

Releases the resources that are used by the ActiveDirectorySchemaClass object.

Dispose(Boolean)

Releases the unmanaged resources that are used by the ActiveDirectorySchemaClass object and, optionally, releases unmanaged resources.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FindByName(DirectoryContext, String)

Gets an ActiveDirectorySchemaClass object in the Active Directory Domain Services schema partition that matches a given directory context and name.

GetAllProperties()

Gets a ReadOnlyActiveDirectorySchemaPropertyCollection collection that contains all properties, including ancestor properties, of the ActiveDirectorySchemaClass object.

GetDirectoryEntry()

Gets the DirectoryEntry object for the ActiveDirectorySchemaClass object.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save()

Commits all changes to the current ActiveDirectorySchemaClass object to the underlying directory store.

ToString()

Gets the LDAP display name of the ActiveDirectorySchemaClass object.

Security

DirectoryServicesPermission
Demand value: LinkDemand

Applies to