Domain.SetSelectiveAuthenticationStatus(String, Boolean) Méthode

Définition

Active ou désactive l’authentification sélective pour une approbation entrante.

public:
 void SetSelectiveAuthenticationStatus(System::String ^ targetDomainName, bool enable);
public void SetSelectiveAuthenticationStatus (string targetDomainName, bool enable);
member this.SetSelectiveAuthenticationStatus : string * bool -> unit
Public Sub SetSelectiveAuthenticationStatus (targetDomainName As String, enable As Boolean)

Paramètres

targetDomainName
String

Nom DNS du domaine avec lequel l’approbation entrante existe.

enable
Boolean

true si l’authentification sélective est activée ; sinon, false.

Exceptions

Il n’existe aucune relation d’approbation avec le contrôleur de domaine spécifié par targetDomainName.

Un appel au service d'annuaire sous-jacent a échoué.

Le serveur cible est occupé ou non disponible.

targetDomainName est une chaîne vide.

targetDomainName a la valeur null.

L’objet actuel a été supprimé.

Le compte spécifié n'a pas l'autorisation d'effectuer cette opération.

S’applique à

Voir aussi