ServiceNameElementCollection.Add(ServiceNameElement) Metodo

Definizione

Il Add(ServiceNameElement) metodo aggiunge un'istanza ServiceNameElement a questo ServiceNameElementCollectionoggetto .

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)

Parametri

element
ServiceNameElement

Istanza da aggiungere all'oggetto ServiceNameElementServiceNameElementCollection.

Commenti

Il Add metodo ignora un nome duplicato specificato nel element parametro .

La ServiceNameCollection classe è una raccolta di nomi dell'entità servizio (SPN) che rappresentano un elemento di configurazione per un oggetto ExtendedProtectionPolicy.

Si applica a