Share via


ConfigurationSet.SetSecurityLevel(ReplicationSecurityLevel) 方法

定義

設定 AD LDS 複寫安全性層級。

public:
 void SetSecurityLevel(System::DirectoryServices::ActiveDirectory::ReplicationSecurityLevel securityLevel);
public void SetSecurityLevel (System.DirectoryServices.ActiveDirectory.ReplicationSecurityLevel securityLevel);
member this.SetSecurityLevel : System.DirectoryServices.ActiveDirectory.ReplicationSecurityLevel -> unit
Public Sub SetSecurityLevel (securityLevel As ReplicationSecurityLevel)

參數

securityLevel
ReplicationSecurityLevel

ReplicationSecurityLevel 值,要將 AD LDS 複寫驗證模式設定為這個值。

例外狀況

securityLevel 不是有效的 ReplicationSecurityLevel 值。

適用於

另請參閱