編輯

共用方式為


ServiceNameElementCollection.Add(ServiceNameElement) Method

Definition

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

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