ServiceNameElementCollection::Add Method (ServiceNameElement^)
.NET Framework (current version)
The Add method adds a ServiceNameElement instance to this ServiceNameElementCollection.
Assembly: System (in System.dll)
Parameters
- element
-
Type:
System.Security.Authentication.ExtendedProtection.Configuration::ServiceNameElement^
The ServiceNameElement instance to add to this ServiceNameElementCollection.
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: