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
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про