ODataVersion Property
The OData Version.
Syntax
getODataVersion(): OdataODataVersions; setODataVersion(ODataVersion: OdataODataVersions): void;
enum OdataODataVersions { odV2, odV3, odV4, odAuto }
Default Value
3
Remarks
This property specifies the OData version to be used in the request and expected in the response. Possible values are:
- 0 (odV2)
- 1 (odv3)
- 3 (odV4)
- 4 (odAuto - default)
Once the version of the service has been automatically determined it will continue to be used until Reset is called.
This property is not available at design time.