Redigera

Dela via


DataServiceContext.Credentials Property

Definition

Gets or sets the authentication information that is used by each query created by using the DataServiceContext object.

public:
 property System::Net::ICredentials ^ Credentials { System::Net::ICredentials ^ get(); void set(System::Net::ICredentials ^ value); };
public System.Net.ICredentials Credentials { get; set; }
member this.Credentials : System.Net.ICredentials with get, set
Public Property Credentials As ICredentials

Property Value

The base authentication interface for retrieving credentials for Web client authentication.

Applies to