ISyndicationClient.ServerCredential 属性

定义

获取或设置向服务器发出请求时要使用的凭据。

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

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

属性值

此值是用户名/密码元组。 对于域凭据,用户名位于 domain\user 窗体中。

适用于