ServiceNameElementCollection.Add(ServiceNameElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Add(ServiceNameElement) method adds a ServiceNameElement instance to this 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)
Parameters
- element
- ServiceNameElement
The ServiceNameElement instance to add to this ServiceNameElementCollection.
Remarks
The Add method ignores a duplicate name provided in the element
parameter.
The ServiceNameCollection class is a collection of Service Principal Names (SPNs) that represent a configuration element for an ExtendedProtectionPolicy.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour