DataServiceBehavior.MaxProtocolVersion Property

Gets or sets the maximum protocol version that is supported by the response sent by the data service.

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

'Declaration
Public Property MaxProtocolVersion As DataServiceProtocolVersion 
	Get 
	Set
'Usage
Dim instance As DataServiceBehavior 
Dim value As DataServiceProtocolVersion 

value = instance.MaxProtocolVersion

instance.MaxProtocolVersion = value

Property Value

Type: System.Data.Services.Common.DataServiceProtocolVersion
The maximum version allowed in the response.
Show: