AtomPubClient.ServerCredential Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the credentials to use when making requests to the server.
public:
property PasswordCredential ^ ServerCredential { PasswordCredential ^ get(); void set(PasswordCredential ^ value); };
PasswordCredential ServerCredential();
void ServerCredential(PasswordCredential value);
public PasswordCredential ServerCredential { get; set; }
var passwordCredential = atomPubClient.serverCredential;
atomPubClient.serverCredential = passwordCredential;
Public Property ServerCredential As PasswordCredential
Property Value
Initially, this value is a username/password tuple. For domain credentials, the username is in domain\user form.