IEwsHttpWebRequest.KeepAlive property
Gets or sets whether the request to the internet resource should contain a Connection HTTP header with the value Keep-alive.
The KeepAlive 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 KeepAlive As Boolean
Get
Set
'Usage
Dim instance As IEwsHttpWebRequest
Dim value As Boolean
value = instance.KeepAlive
instance.KeepAlive = value
bool KeepAlive { get; set; }
Property value
Type: System.Boolean
true if request to the internet resource contains a Connection HTTP header with the value Keep-alive; otherwise, false.