ActiveDirectorySchema Class
.NET Framework 4.5
The ActiveDirectorySchema class represents the schema partition for a particular domain.
System.Object
System.DirectoryServices.ActiveDirectory.ActiveDirectoryPartition
System.DirectoryServices.ActiveDirectory.ActiveDirectorySchema
System.DirectoryServices.ActiveDirectory.ActiveDirectoryPartition
System.DirectoryServices.ActiveDirectory.ActiveDirectorySchema
Namespace: System.DirectoryServices.ActiveDirectory
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
The ActiveDirectorySchema type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Name | Gets the partition name. (Inherited from ActiveDirectoryPartition.) |
![]() | SchemaRoleOwner | Gets the schema master role owner. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all managed and unmanaged resources that are held by the object. (Inherited from ActiveDirectoryPartition.) |
![]() | Dispose(Boolean) | Releases the managed resources that are used by the ActiveDirectorySchema object and, optionally, releases unmanaged resources. (Overrides ActiveDirectoryPartition.Dispose(Boolean).) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FindAllClasses() | Retrieves all Active Directory Domain Services classes in the schema. |
![]() | FindAllClasses(SchemaClassType) | Retrieves all Active Directory Domain Services classes in the schema that are of the specified type. |
![]() | FindAllDefunctClasses | Retrieves all of the defunct Active Directory Domain Services classes in the schema. |
![]() | FindAllDefunctProperties | Retrieves all of the defunct Active Directory Domain Services properties in the schema. |
![]() | FindAllProperties() | Retrieves all of the Active Directory Domain Services properties in the schema. |
![]() | FindAllProperties(PropertyTypes) | Retrieves all of the Active Directory Domain Services properties in the schema of the specified type. |
![]() | FindClass | Retrieves the class with the specified name. |
![]() | FindDefunctClass | Retrieves the defunct class that has the specified common name. |
![]() | FindDefunctProperty | Retrieves the defunct property that has the specified common name. |
![]() | FindProperty | Retrieves the property with the specified name. |
![]() ![]() | GetCurrentSchema | Gets the schema object for the forest that the currently logged-on user is a member of. |
![]() | GetDirectoryEntry | Retrieves a DirectoryEntry object that represents the directory partition. (Overrides ActiveDirectoryPartition.GetDirectoryEntry().) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetSchema | Retrieves the schema object for the specified context. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RefreshSchema | Refreshes the schema cache on the client computer. |
![]() | ToString | Retrieves a string representation of the current directory partition. (Inherited from ActiveDirectoryPartition.) |
- DirectoryServicesPermission
Demand value: LinkDemand
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.



