SALES: 1-800-867-1380

DataServiceContext.Credentials Property

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

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

public ICredentials Credentials { get; set; }

Property Value

Type: System.Net.ICredentials
The base authentication interface for retrieving credentials for Web client authentication.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft