Theclass represents an Active Directory Domain Services forest.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
Gets a collection of all application partitions in the forest.
Gets a collection of all domains in the forest.
Gets the operating mode of the forest.
Gets the operating mode level of the forest.
Gets a collection of all global catalogs in the forest.
Gets the name of the forest.
Gets the domain controller that holds the FSMO naming master role for the forest.
Gets the first domain that was created in a forest.
Gets the schema of the forest.
Gets the domain controller that holds the FSMO schema master role for the forest.
Gets a collection of sites that are contained in the forest.
|CreateLocalSideOfTrustRelationship(String, TrustDirection, String)|
Creates the local side of a trust relationship with the specified forest.
Creates both sides of a trust relationship with the specified forest.
Deletes the local side of a trust relationship.
Deletes both sides of a trust relationship.
Releases all managed and unmanaged resources that are held by the object.
Releases the managed resources that are used by the object and, optionally, releases unmanaged resources.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Finds all of the discoverable global catalogs in this forest.
Finds all of the discoverable global catalogs in this forest in a specified site.
Finds all the global catalogs in this forest.
Finds all the global catalogs in this forest for a given site.
Finds any global catalog in this forest.
Finds a global catalog in this forest for a specified location criteria.
Finds a global catalog in this forest for a specified site.
Finds a global catalog in this forest for a specified site and location criteria.
Gets a collection of the trust relationships of the current forest.
Gets aobject for the current user context.
Gets aobject for the specified context.
Serves as the default hash function. (Inherited from Object.)
Gets a Boolean value that indicates whether selective authentication is enabled on the inbound trust relationship with the specified forest. true if selective authentication is enabled; otherwise, false. For more information, see the Remarks section.
Gets the SID filtering status of a trust.
Gets the trust relationship between this forest and the specified forest.
Raises the mode of operation for the forest.
Raises the forest functionality level to the given setting.
Repairs a trust relationship.
Enables or disables selective authentication for an inbound trust.
Sets the SID filtering state with the specified forest.
Returns a string representation of the current forest.(Overrides Object.ToString().)
Updates the password for the local side of a trust relationship.
|UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)|
Updates the password and trust direction for the local side of a trust relationship.
Updates the trust direction for a trust relationship. The trust directions are updated on both sides of the trust.
Verifies that a previously established outbound trust with the specified forest is valid.
Verifies that a previously established trust with the specified forest is valid.
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.