DirectoryServer 類別

定義

DirectoryServer 類別是抽象類別 (Abstract Class),表示 Active Directory 網域服務伺服器或 AD LDS 執行個體。The DirectoryServer class is an abstract class that represents an Active Directory Domain Services server or AD LDS instance.

public ref class DirectoryServer abstract : IDisposable
public abstract class DirectoryServer : IDisposable
type DirectoryServer = class
    interface IDisposable
Public MustInherit Class DirectoryServer
Implements IDisposable
繼承
DirectoryServer
衍生
實作

建構函式

DirectoryServer()

初始化 DirectoryServer 類別的新執行個體。Initializes a new instance of the DirectoryServer class.

屬性

InboundConnections

擷取這個目錄伺服器的輸入複寫連線。Retrieves the inbound replication connections for this directory server.

IPAddress

擷取這部目錄伺服器的 IP 位址。Retrieves the IP address of this directory server.

Name

取得目錄伺服器的名稱。Gets the name of the directory server.

OutboundConnections

取得此目錄伺服器的輸出複寫連線。Gets the outbound replication connections for this directory server.

Partitions

取得這部目錄伺服器上的磁碟分割。Gets the partitions on this directory server.

SiteName

取得這部目錄伺服器所屬的站台名稱。Gets the name of the site that this directory server belongs to.

SyncFromAllServersCallback

取得或設定這部目錄伺服器的同步處理委派。Gets or sets the synchronization delegate for this directory server.

方法

CheckReplicationConsistency()

使用知識一致性檢查程式 (KCC) 來驗證和重新計算此伺服器的複寫拓撲。Uses the Knowledge Consistency Checker (KCC) to verify and recalculate the replication topology for this server.

Dispose()

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

Dispose(Boolean)

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

Equals(Object)

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

(繼承來源 Object)
Finalize()

覆寫 Finalize() 方法。Overrides the Finalize() method.

GetAllReplicationNeighbors()

擷取此物件的所有複寫鄰居。Retrieves all of the replication neighbors for this object.

GetDirectoryEntry()

擷取表示目錄伺服器的 DirectoryEntry 物件。Retrieves a DirectoryEntry object that represents the directory server.

GetHashCode()

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

(繼承來源 Object)
GetReplicationConnectionFailures()

擷取此目錄伺服器的複寫連線失敗集合。Retrieves a collection of the replication connection failures for this directory server.

GetReplicationCursors(String)

擷取指定之磁碟分割的複寫資料指標 (Cursor) 資訊。Retrieves the replication cursor information for the specified partition.

GetReplicationMetadata(String)

擷取特定 Active Directory 網域服務物件的複寫中繼資料。Retrieves the replication metadata for a specific Active Directory Domain Services object.

GetReplicationNeighbors(String)

針對指定之磁碟分割擷取這部目錄伺服器的複寫鄰居。Retrieves the replication neighbors of this directory server for the specified partition.

GetReplicationOperationInformation()

擷取這部目錄伺服器的目前和暫止的複寫作業。Retrieves the current and pending replication operations for this directory server.

GetType()

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

(繼承來源 Object)
MemberwiseClone()

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

(繼承來源 Object)
MoveToAnotherSite(String)

將目錄伺服器移至樹系或組態集內的另一個站台。Moves the directory server to another site within the forest or configuration set.

SyncReplicaFromAllServers(String, SyncFromAllServersOptions)

讓這部目錄伺服器將指定之磁碟分割與相同站台內主控此磁碟分割的所有其他目錄伺服器同步化。Causes this directory server to synchronize the specified partition with all other directory servers in the same site that hosts the partition.

SyncReplicaFromServer(String, String)

讓這部目錄伺服器將指定之磁碟分割與指定之目錄伺服器同步化。Causes this directory server to synchronize the specified partition with the specified directory server.

ToString()

擷取目錄伺服器的名稱。Retrieves the name of the directory server.

TriggerSyncReplicaFromNeighbors(String)

開始同步處理指定之磁碟分割。Begins a synchronization of the specified partition.

安全性

DirectoryServicesPermission
需求值:LinkDemandDemand value: LinkDemand

適用於