Forest 類別

定義

Forest 類別表示 Active Directory 網域服務樹系。

public ref class Forest : IDisposable
public class Forest : IDisposable
type Forest = class
    interface IDisposable
Public Class Forest
Implements IDisposable
繼承
Forest
實作

屬性

ApplicationPartitions

取得此樹系中所有應用程式磁碟分割的集合。

Domains

取得此樹系中所有網域的集合。

ForestMode

取得此樹系的作業模式。

ForestModeLevel

取得樹系的作業模式等級。

GlobalCatalogs

取得此樹系中所有通用類別目錄的集合。

Name

取得樹系的名稱。

NamingRoleOwner

取得持有此樹系的 FSMO 命名主機角色的網域控制站。

RootDomain

取得在樹系中建立的第一個網域。

Schema

取得此樹系的結構描述。

SchemaRoleOwner

取得持有此樹系的 FSMO 結構描述主機角色的網域控制站。

Sites

取得樹系中所包含的站台集合。

方法

CreateLocalSideOfTrustRelationship(String, TrustDirection, String)

建立與指定樹系之信任關係的本機端。

CreateTrustRelationship(Forest, TrustDirection)

建立與指定樹系之信任關係的兩端。

DeleteLocalSideOfTrustRelationship(String)

刪除信任關係的本機端。

DeleteTrustRelationship(Forest)

刪除信任關係的雙方。

Dispose()

釋放此物件所持有的所有 Managed 和 Unmanaged 資源。

Dispose(Boolean)

釋放此物件所使用的 Managed 資源,並選擇性地釋放 Unmanaged 資源。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
FindAllDiscoverableGlobalCatalogs()

在此樹系中尋找所有可以找到的通用類別目錄。

FindAllDiscoverableGlobalCatalogs(String)

在此樹系和指定之站台中尋找所有可以找到的通用類別目錄。

FindAllGlobalCatalogs()

在此樹系中尋找所有通用類別目錄。

FindAllGlobalCatalogs(String)

在此樹系中尋找給定之站台的所有通用類別目錄。

FindGlobalCatalog()

在此樹系中尋找任何通用類別目錄。

FindGlobalCatalog(LocatorOptions)

在此樹系中尋找指定之位置準則的通用類別目錄。

FindGlobalCatalog(String)

在此樹系中尋找指定之站台的通用類別目錄。

FindGlobalCatalog(String, LocatorOptions)

在此樹系中尋找指定之站台和位置準則的通用類別目錄。

GetAllTrustRelationships()

取得目前樹系之信任關係的集合。

GetCurrentForest()

取得目前使用者內容的 Forest 物件。

GetForest(DirectoryContext)

取得指定之內容的 Forest 物件。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetSelectiveAuthenticationStatus(String)

取得可指出與指定樹系的連入信任關係是否已啟用選擇性驗證的布林值。 如果已啟用選擇性驗證,則為 true,否則為 false

GetSidFilteringStatus(String)

取得某信任的 SID 篩選狀態。

GetTrustRelationship(String)

取得此樹系和指定之樹系之間的信任關係。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
RaiseForestFunctionality(ForestMode)

提高樹系的作業模式。

RaiseForestFunctionalityLevel(Int32)

將樹系功能等級提高至指定的設定。

RepairTrustRelationship(Forest)

修復信任關係。

SetSelectiveAuthenticationStatus(String, Boolean)

啟用或停用連入信任的選擇性驗證。

SetSidFilteringStatus(String, Boolean)

以指定樹系設定 SID 篩選狀態。

ToString()

傳回目前樹系的字串表示。

UpdateLocalSideOfTrustRelationship(String, String)

更新信任關係本機端的密碼。

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

更新信任關係本機端的密碼和信任方向。

UpdateTrustRelationship(Forest, TrustDirection)

更新信任關係的信任方向, 信任的兩端都已更新信任方向。

VerifyOutboundTrustRelationship(String)

驗證之前與指定之樹系之間建立的傳出信任確實有效。

VerifyTrustRelationship(Forest, TrustDirection)

驗證指定的樹系與先前建立的信任有效。

適用於