DataServiceContext.UsePostTunneling Property

Gets or sets a Boolean value that indicates whether to use post tunneling.

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

Syntax

'Declaration
Public Property UsePostTunneling As Boolean 
    Get 
    Set
'Usage
Dim instance As DataServiceContext 
Dim value As Boolean 

value = instance.UsePostTunneling

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

Property Value

Type: System.Boolean
A Boolean value that indicates whether to use post tunneling.

Remarks

This property controls whether create, update, and delete requests sent to the data service will use the post tunneling feature of the protocol or not. When set to true, tunneling is used. When set to false, standard HTTP methods are used.

The default value of this property is false.

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace