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)
Syntax
'Declaration
Public Property MaxProtocolVersion As DataServiceProtocolVersion
Get
Set
'Usage
Dim instance As DataServiceBehavior
Dim value As DataServiceProtocolVersion
value = instance.MaxProtocolVersion
instance.MaxProtocolVersion = value
public DataServiceProtocolVersion MaxProtocolVersion { get; set; }
public:
property DataServiceProtocolVersion MaxProtocolVersion {
DataServiceProtocolVersion get ();
void set (DataServiceProtocolVersion value);
}
member MaxProtocolVersion : DataServiceProtocolVersion with get, set
function get MaxProtocolVersion () : DataServiceProtocolVersion
function set MaxProtocolVersion (value : DataServiceProtocolVersion)
Property Value
Type: System.Data.Services.Common.DataServiceProtocolVersion
The maximum version allowed in the response.