ServiceNameElementCollection.Add(ServiceNameElement) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
La Add(ServiceNameElement) méthode ajoute une ServiceNameElement instance à ceci ServiceNameElementCollection.
public:
void Add(System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ element);
public void Add(System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement element);
member this.Add : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement -> unit
Public Sub Add (element As ServiceNameElement)
Paramètres
- element
- ServiceNameElement
Instance ServiceNameElement à ajouter à ceci ServiceNameElementCollection.
Remarques
La Add méthode ignore un nom dupliqué fourni dans le element paramètre.
La ServiceNameCollection classe est une collection de noms de principaux de service (SPN) qui représentent un élément de configuration pour un ExtendedProtectionPolicy.