Share via


ODataModelBuilder.MaxDataServiceVersion Property

 

Gets or sets the maximum data service version of the model. The default value is 4.0.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public Version MaxDataServiceVersion { get; set; }
public:
property Version^ MaxDataServiceVersion {
    Version^ get();
    void set(Version^ value);
}
member MaxDataServiceVersion : Version with get, set
Public Property MaxDataServiceVersion As Version

Property Value

Type: System.Version

See Also

ODataModelBuilder Class
System.Web.OData.Builder Namespace

Return to top