ExchangeServiceBase.AcceptGzipEncoding property

Gets or sets a value that indicates whether GZip compression encoding should be accepted.

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

'Declaration
Public Property AcceptGzipEncoding As Boolean
	Get
	Set
'Usage
Dim instance As ExchangeServiceBase
Dim value As Boolean

value = instance.AcceptGzipEncoding

instance.AcceptGzipEncoding = value

Property value

Type: System.Boolean
true if GZip compression encoding should be accepted; otherwise, false.

Setting the AcceptGzipEncoding property value indicates to the server whether the client can handle GZip compression encoding. The server will only send GZip-compressed content if it has been configured to do so.

Show: