IEwsHttpWebRequest.Credentials property

Gets or sets authentication information for the request.

The Credentials property is applicable for clients that target Exchange Online and versions of Exchange starting with Microsoft Exchange Server 2007.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

Syntax

'Declaration
Property Credentials As ICredentials
    Get
    Set
'Usage
Dim instance As IEwsHttpWebRequest
Dim value As ICredentials

value = instance.Credentials

instance.Credentials = value
ICredentials Credentials { get; set; }

Property value

Type: System.Net.ICredentials
The authentication credentials associated with the request. The default is a null reference (Nothing in Visual Basic).

See also

Reference

IEwsHttpWebRequest interface

IEwsHttpWebRequest members

Microsoft.Exchange.WebServices.Data namespace