共用方式為


HttpBaseProtocolFilter.ServerCredential 屬性

定義

取得或設定要用來向 HTTP 伺服器進行驗證的認證。

public:
 property PasswordCredential ^ ServerCredential { PasswordCredential ^ get(); void set(PasswordCredential ^ value); };
PasswordCredential ServerCredential();

void ServerCredential(PasswordCredential value);
public PasswordCredential ServerCredential { get; set; }
var passwordCredential = httpBaseProtocolFilter.serverCredential;
httpBaseProtocolFilter.serverCredential = passwordCredential;
Public Property ServerCredential As PasswordCredential

屬性值

要用來向 HTTP 伺服器進行驗證的認證。

備註

系統通常會決定自動向 HTTP 伺服器進行驗證所需的認證。 此屬性只需要在進階案例中設定。

適用於