Share via


DataServiceClientRequestMessage.Credentials Property

Gets or set the credentials for this request.

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

Syntax

'Declaration
Public MustOverride Property Credentials As ICredentials 
    Get 
    Set
'Usage
Dim instance As DataServiceClientRequestMessage 
Dim value As ICredentials 

value = instance.Credentials

instance.Credentials = value
public abstract ICredentials Credentials { get; set; }
public:
virtual property ICredentials^ Credentials {
    ICredentials^ get () abstract;
    void set (ICredentials^ value) abstract;
}
abstract Credentials : ICredentials with get, set
abstract function get Credentials () : ICredentials 
abstract function set Credentials (value : ICredentials)

Property Value

Type: System.Net.ICredentials

See Also

Reference

DataServiceClientRequestMessage Class

System.Data.Services.Client Namespace