ActiveDirectorySiteLink 類別

定義

ActiveDirectorySiteLink 類別表示可以排程來進行複寫的一組兩個或多個站台,以透過特定的傳輸方式以統一的成本花費來通訊。The ActiveDirectorySiteLink class represents a set of two or more sites that can be scheduled, for replication, to communicate at uniform cost and through a particular transport.

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

建構函式

ActiveDirectorySiteLink(DirectoryContext, String)

使用指定的 ActiveDirectorySiteLink 物件和名稱,初始化 DirectoryContext 類別的新執行個體。Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object and name.

ActiveDirectorySiteLink(DirectoryContext, String, ActiveDirectoryTransportType)

使用指定之 ActiveDirectorySiteLink 物件、名稱和傳輸類型,初始化 DirectoryContext 類別的新執行個體。Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, and transport type.

ActiveDirectorySiteLink(DirectoryContext, String, ActiveDirectoryTransportType, ActiveDirectorySchedule)

使用指定之 ActiveDirectorySiteLink 物件、名稱、傳輸類型和複寫排程,初始化 DirectoryContext 類別的新執行個體。Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, transport type, and replication schedule.

屬性

Cost

取得或設定站台連結成本。Gets or sets the site link cost.

DataCompressionEnabled

取得或設定站台連結的資料壓縮模式。Gets or sets the data compression mode of the site link.

InterSiteReplicationSchedule

取得或設定目前站台連結物件的 ActiveDirectorySchedule 物件。Gets or sets the ActiveDirectorySchedule object for the current site link object.

Name

取得此站台連結的名稱。Gets the name of the site link.

NotificationEnabled

取得或設定值,指出是否已啟用告知。Gets or sets a value indicating whether notifications are enabled.

ReciprocalReplicationEnabled

取得或設定站台之間相互複寫的模式。Gets or sets the mode for reciprocal replication between sites.

ReplicationInterval

取得或設定站台之間的複寫間隔。Gets or sets the replication interval between sites.

Sites

取得此站台連結包含的讀取/寫入之站台集合。Gets a read/write collection of sites that this site link contains.

TransportType

取得此站台連結的傳輸類型。Gets the transport type of the site link.

方法

Delete()

刪除目前的站台連結。Deletes the current site link.

Dispose()

釋放由此物件使用的所有資源。Releases all resources used by the object.

Dispose(Boolean)

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

Equals(Object)

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

(繼承來源 Object)
FindByName(DirectoryContext, String)

以站台連結名稱為根據傳回站台連結。Returns a site link based on a site link name.

FindByName(DirectoryContext, String, ActiveDirectoryTransportType)

根據站台連結名稱和傳輸傳回站台連結。Returns a site link based on a site link name and transport.

GetDirectoryEntry()

取得這個物件的 DirectoryEntryGets the DirectoryEntry for this object.

GetHashCode()

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

(繼承來源 Object)
GetType()

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

(繼承來源 Object)
MemberwiseClone()

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

(繼承來源 Object)
Save()

將物件的所有變更寫入到 Active Directory 網域服務存放區中。Writes any changes to the object to the Active Directory Domain Services store.

ToString()

傳回站台連結名稱。Returns the site link name.

安全性

DirectoryServicesPermission
需求值:LinkDemandDemand value: LinkDemand

適用於