語言

ServiceNameElementCollection.Add(ServiceNameElement) 方法

定義

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)

參數

備註

此 Add 方法忽略參數中重複的 element 名稱。

該 ServiceNameCollection 類別是一組服務主體名稱(SPN),代表 的 ExtendedProtectionPolicy配置元素。

適用於