ActiveDirectorySchema 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.
The ActiveDirectorySchema class represents the schema partition for a particular domain.
public ref class ActiveDirectorySchema : System::DirectoryServices::ActiveDirectory::ActiveDirectoryPartition
public class ActiveDirectorySchema : System.DirectoryServices.ActiveDirectory.ActiveDirectoryPartition
type ActiveDirectorySchema = class
inherit ActiveDirectoryPartition
Public Class ActiveDirectorySchema
Inherits ActiveDirectoryPartition
- Inheritance
Properties
Name |
Gets the partition name. (Inherited from ActiveDirectoryPartition) |
SchemaRoleOwner |
Gets the schema master role owner. |
Methods
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. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (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. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetSchema(DirectoryContext) |
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) |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈