Domain Domain Domain Domain Class

定義

Domain 類別代表 Active Directory 網域。The Domain class represents an Active Directory domain.

public ref class Domain : System::DirectoryServices::ActiveDirectory::ActiveDirectoryPartition
public class Domain : System.DirectoryServices.ActiveDirectory.ActiveDirectoryPartition
type Domain = class
    inherit ActiveDirectoryPartition
Public Class Domain
Inherits ActiveDirectoryPartition
繼承

屬性

Children Children Children Children

取得這個網域的子系網域。Gets the domains that are children of this domain.

DomainControllers DomainControllers DomainControllers DomainControllers

取得這個網域中的網域控制站。Gets the domain controllers in this domain.

DomainMode DomainMode DomainMode DomainMode

取得這個網域作業所在的模式。Gets the mode that this domain is operating in.

DomainModeLevel DomainModeLevel DomainModeLevel DomainModeLevel

取得這個網域作業所在的模式層級。Gets the mode level that this domain is operating in.

Forest Forest Forest Forest

取得這個網域所隸屬的樹系。Gets the forest that this domain is a member of.

InfrastructureRoleOwner InfrastructureRoleOwner InfrastructureRoleOwner InfrastructureRoleOwner

取得這個網域的基礎結構角色擁有者。Gets the infrastructure role owner for this domain.

Name Name Name Name

取得此磁碟分割名稱。Gets the partition name.

(Inherited from ActiveDirectoryPartition)
Parent Parent Parent Parent

取得這個網域的父系網域。Gets the parent domain of this domain.

PdcRoleOwner PdcRoleOwner PdcRoleOwner PdcRoleOwner

取得 DomainController 物件,該物件可持有這個網域的主要網域控制站 (PDC)。Gets the DomainController object that holds the primary domain controller (PDC) for this domain.

RidRoleOwner RidRoleOwner RidRoleOwner RidRoleOwner

取得這個網域的 RID 主機角色持有者。Gets the RID master role holder for this domain.

方法

CreateLocalSideOfTrustRelationship(String, TrustDirection, String) CreateLocalSideOfTrustRelationship(String, TrustDirection, String) CreateLocalSideOfTrustRelationship(String, TrustDirection, String) CreateLocalSideOfTrustRelationship(String, TrustDirection, String)

建立與指定網域之信任關係的本機端。Creates the local side of a trust relationship with the specified domain.

CreateTrustRelationship(Domain, TrustDirection) CreateTrustRelationship(Domain, TrustDirection) CreateTrustRelationship(Domain, TrustDirection) CreateTrustRelationship(Domain, TrustDirection)

建立與指定網域之信任關係的兩端。Creates both sides of a trust relationship with the specified domain.

DeleteLocalSideOfTrustRelationship(String) DeleteLocalSideOfTrustRelationship(String) DeleteLocalSideOfTrustRelationship(String) DeleteLocalSideOfTrustRelationship(String)

刪除信任關係的本機端。Deletes the local side of a trust relationship.

DeleteTrustRelationship(Domain) DeleteTrustRelationship(Domain) DeleteTrustRelationship(Domain) DeleteTrustRelationship(Domain)

刪除信任關係的雙方。Deletes both sides of a trust relationship.

Dispose() Dispose() Dispose() Dispose()

釋放此物件所持有的所有 Managed 和 Unmanaged 資源。Releases all managed and unmanaged resources that are held by the object.

(Inherited from ActiveDirectoryPartition)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

釋放此物件所使用的 Managed 資源,並選擇性地釋放 Unmanaged 資源。Releases the managed resources that are used by the object and, optionally, releases unmanaged resources.

(Inherited from ActiveDirectoryPartition)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
FindAllDiscoverableDomainControllers() FindAllDiscoverableDomainControllers() FindAllDiscoverableDomainControllers() FindAllDiscoverableDomainControllers()

尋找這個網域中的所有可探索網域控制站。Finds all of the discoverable domain controllers in this domain.

FindAllDiscoverableDomainControllers(String) FindAllDiscoverableDomainControllers(String) FindAllDiscoverableDomainControllers(String) FindAllDiscoverableDomainControllers(String)

在這個網域中,尋找同時也在指定網站上之所有可探索的網域控制站。Finds all of the discoverable domain controllers in this domain that are also in the specified site.

FindAllDomainControllers() FindAllDomainControllers() FindAllDomainControllers() FindAllDomainControllers()

尋找這個網域中的所有網域控制站。Finds all of the domain controllers in this domain.

FindAllDomainControllers(String) FindAllDomainControllers(String) FindAllDomainControllers(String) FindAllDomainControllers(String)

在這個網域中,尋找同時也在指定網站上的所有網域控制站。Finds all of the domain controllers in this domain that are also in the specified site.

FindDomainController() FindDomainController() FindDomainController() FindDomainController()

在此網域中尋找網域控制站。Finds any domain controller in this domain.

FindDomainController(LocatorOptions) FindDomainController(LocatorOptions) FindDomainController(LocatorOptions) FindDomainController(LocatorOptions)

在這個網域中尋找符合指定準則的網域控制站。Finds a domain controller in this domain that meets the specified criteria.

FindDomainController(String) FindDomainController(String) FindDomainController(String) FindDomainController(String)

在這個網域的指定網站中尋找網域控制站。Finds a domain controller in this domain and in the specified site.

FindDomainController(String, LocatorOptions) FindDomainController(String, LocatorOptions) FindDomainController(String, LocatorOptions) FindDomainController(String, LocatorOptions)

在這個網域及符合指定準則的指定網站中,尋找網域控制站。Finds a domain controller in this domain and in the specified site that meets the specified criteria.

GetAllTrustRelationships() GetAllTrustRelationships() GetAllTrustRelationships() GetAllTrustRelationships()

擷取所有此網域的信任關係。Retrieves all of the trust relationships for this domain.

GetComputerDomain() GetComputerDomain() GetComputerDomain() GetComputerDomain()

取得代表本機電腦加入之網域的 Domain 物件。Gets the Domain object that represents the domain to which the local computer is joined.

GetCurrentDomain() GetCurrentDomain() GetCurrentDomain() GetCurrentDomain()

取得作用中的目前使用者認證的 Domain 物件,該認證用於應用程式執行所在的安全性內容。Gets the Domain object for the current user credentials in effect for the security context under which the application is running.

GetDirectoryEntry() GetDirectoryEntry() GetDirectoryEntry() GetDirectoryEntry()

擷取 DirectoryEntry 物件,代表此網域的預設命名內容。Retrieves a DirectoryEntry object that represents the default naming context of the domain.

GetDomain(DirectoryContext) GetDomain(DirectoryContext) GetDomain(DirectoryContext) GetDomain(DirectoryContext)

取得指定內容的 Domain 物件。Gets the Domain object for the specified context.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetSelectiveAuthenticationStatus(String) GetSelectiveAuthenticationStatus(String) GetSelectiveAuthenticationStatus(String) GetSelectiveAuthenticationStatus(String)

判斷連入信任的驗證類型。Determines the authentication type of an inbound trust.

GetSidFilteringStatus(String) GetSidFilteringStatus(String) GetSidFilteringStatus(String) GetSidFilteringStatus(String)

決定信任的 SID 篩選狀態。Determines the SID filtering status of a trust.

GetTrustRelationship(String) GetTrustRelationship(String) GetTrustRelationship(String) GetTrustRelationship(String)

取得此網域和指定網域之間的信任關係。Gets the trust relationship between this domain and the specified domain.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
RaiseDomainFunctionality(DomainMode) RaiseDomainFunctionality(DomainMode) RaiseDomainFunctionality(DomainMode) RaiseDomainFunctionality(DomainMode)

提高網域的作業模式。Raises the mode of operation for the domain.

RaiseDomainFunctionalityLevel(Int32) RaiseDomainFunctionalityLevel(Int32) RaiseDomainFunctionalityLevel(Int32) RaiseDomainFunctionalityLevel(Int32)

提高網域功能層級。Raises the functionality level for the domain.

RepairTrustRelationship(Domain) RepairTrustRelationship(Domain) RepairTrustRelationship(Domain) RepairTrustRelationship(Domain)

修復信任關係。Repairs a trust relationship.

SetSelectiveAuthenticationStatus(String, Boolean) SetSelectiveAuthenticationStatus(String, Boolean) SetSelectiveAuthenticationStatus(String, Boolean) SetSelectiveAuthenticationStatus(String, Boolean)

啟用或停用連入信任的選擇性驗證。Enables or disables selective authentication for an inbound trust.

SetSidFilteringStatus(String, Boolean) SetSidFilteringStatus(String, Boolean) SetSidFilteringStatus(String, Boolean) SetSidFilteringStatus(String, Boolean)

設定指定網域的 SID 篩選狀態。Sets the SID filtering state for the specified domain.

ToString() ToString() ToString() ToString()

擷取目前的目錄磁碟分割之字串表示。Retrieves a string representation of the current directory partition.

(Inherited from ActiveDirectoryPartition)
UpdateLocalSideOfTrustRelationship(String, String) UpdateLocalSideOfTrustRelationship(String, String) UpdateLocalSideOfTrustRelationship(String, String) UpdateLocalSideOfTrustRelationship(String, String)

更新信任關係本機端的密碼。Updates the password for the local side of a trust relationship.

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String) UpdateLocalSideOfTrustRelationship(String, TrustDirection, String) UpdateLocalSideOfTrustRelationship(String, TrustDirection, String) UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

更新信任關係本機端的密碼和信任方向。Updates the password and trust direction for the local side of a trust relationship.

UpdateTrustRelationship(Domain, TrustDirection) UpdateTrustRelationship(Domain, TrustDirection) UpdateTrustRelationship(Domain, TrustDirection) UpdateTrustRelationship(Domain, TrustDirection)

更新現有信任關係的信任方向。Updates the trust direction for an existing trust relationship. 信任的兩端都已更新信任方向。The trust directions are updated on both sides of the trust.

VerifyOutboundTrustRelationship(String) VerifyOutboundTrustRelationship(String) VerifyOutboundTrustRelationship(String) VerifyOutboundTrustRelationship(String)

驗證之前與指定網域建立的輸出信任有效。Verifies that a previously established outbound trust with the specified domain is valid.

VerifyTrustRelationship(Domain, TrustDirection) VerifyTrustRelationship(Domain, TrustDirection) VerifyTrustRelationship(Domain, TrustDirection) VerifyTrustRelationship(Domain, TrustDirection)

驗證指定的網域與先前建立的信任有效。Verifies that a previously established trust with the specified domain is valid.

安全性

DirectoryServicesPermission
要求值: LinkDemandDemand value: LinkDemand

適用於

另請參閱