Share via


DataServiceBehavior.AcceptSpatialLiteralsInQuery Property

Gets or sets whether spatial literal values are supported in the URI.

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

Syntax

'Declaration
Public Property AcceptSpatialLiteralsInQuery As Boolean 
    Get 
    Set
'Usage
Dim instance As DataServiceBehavior 
Dim value As Boolean 

value = instance.AcceptSpatialLiteralsInQuery

instance.AcceptSpatialLiteralsInQuery = value
public bool AcceptSpatialLiteralsInQuery { get; set; }
public:
property bool AcceptSpatialLiteralsInQuery {
    bool get ();
    void set (bool value);
}
member AcceptSpatialLiteralsInQuery : bool with get, set
function get AcceptSpatialLiteralsInQuery () : boolean 
function set AcceptSpatialLiteralsInQuery (value : boolean)

Property Value

Type: System.Boolean
True when spatial literals are supported in the URI; otherwise false.

Remarks

The default value is true.

See Also

Reference

DataServiceBehavior Class

System.Data.Services Namespace