ActiveDirectorySchema Class

 

The ActiveDirectorySchema class represents the schema partition for a particular domain.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

System.Object
  System.DirectoryServices.ActiveDirectory.ActiveDirectoryPartition
    System.DirectoryServices.ActiveDirectory.ActiveDirectorySchema

[DirectoryServicesPermissionAttribute(SecurityAction.LinkDemand, 
	Unrestricted = true)]
public class ActiveDirectorySchema : ActiveDirectoryPartition

NameDescription
System_CAPS_pubpropertyName

Gets the partition name.(Inherited from ActiveDirectoryPartition.)

System_CAPS_pubpropertySchemaRoleOwner

Gets the schema master role owner.

NameDescription
System_CAPS_pubmethodDispose()

Releases all managed and unmanaged resources that are held by the object.(Inherited from ActiveDirectoryPartition.)

System_CAPS_protmethodDispose(Boolean)

Releases the managed resources that are used by the ActiveDirectorySchema object and, optionally, releases unmanaged resources.(Overrides ActiveDirectoryPartition.Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFindAllClasses()

Retrieves all Active Directory Domain Services classes in the schema.

System_CAPS_pubmethodFindAllClasses(SchemaClassType)

Retrieves all Active Directory Domain Services classes in the schema that are of the specified type.

System_CAPS_pubmethodFindAllDefunctClasses()

Retrieves all of the defunct Active Directory Domain Services classes in the schema.

System_CAPS_pubmethodFindAllDefunctProperties()

Retrieves all of the defunct Active Directory Domain Services properties in the schema.

System_CAPS_pubmethodFindAllProperties()

Retrieves all of the Active Directory Domain Services properties in the schema.

System_CAPS_pubmethodFindAllProperties(PropertyTypes)

Retrieves all of the Active Directory Domain Services properties in the schema of the specified type.

System_CAPS_pubmethodFindClass(String)

Retrieves the class with the specified name.

System_CAPS_pubmethodFindDefunctClass(String)

Retrieves the defunct class that has the specified common name.

System_CAPS_pubmethodFindDefunctProperty(String)

Retrieves the defunct property that has the specified common name.

System_CAPS_pubmethodFindProperty(String)

Retrieves the property with the specified name.

System_CAPS_pubmethodSystem_CAPS_staticGetCurrentSchema()

Gets the schema object for the forest that the currently logged-on user is a member of.

System_CAPS_pubmethodGetDirectoryEntry()

Retrieves a DirectoryEntry object that represents the directory partition.(Overrides ActiveDirectoryPartition.GetDirectoryEntry().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetSchema(DirectoryContext)

Retrieves the schema object for the specified context.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRefreshSchema()

Refreshes the schema cache on the client computer.

System_CAPS_pubmethodToString()

Retrieves a string representation of the current directory partition.(Inherited from ActiveDirectoryPartition.)

.NET Framework
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.

Return to top
Show: