ActiveDirectorySchema Class
The ActiveDirectorySchema class represents the schema partition for a particular domain.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
System.DirectoryServices.ActiveDirectory::ActiveDirectoryPartition
System.DirectoryServices.ActiveDirectory::ActiveDirectorySchema
| 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(String^) | Retrieves the class with the specified name. |
![]() | FindDefunctClass(String^) | Retrieves the defunct class that has the specified common name. |
![]() | FindDefunctProperty(String^) | Retrieves the defunct property that has the specified common name. |
![]() | FindProperty(String^) | 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 the default hash function. (Inherited from Object.) |
![]() ![]() | GetSchema(DirectoryContext^) | Retrieves the schema object for the specified context. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | RefreshSchema() | Refreshes the schema cache on the client computer. |
![]() | ToString() | Retrieves a string representation of the current directory partition.(Inherited from ActiveDirectoryPartition.) |
Demand value: LinkDemand
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



