Share via


ODataMessageWriterSettings.EnableWcfDataServicesServerBehavior Method (Boolean)

Specifies whether the WCF data services server behavior is enabled.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Sub EnableWcfDataServicesServerBehavior ( _
    usesV1Provider As Boolean _
)
'Usage
Dim instance As ODataMessageWriterSettings 
Dim usesV1Provider As Boolean

instance.EnableWcfDataServicesServerBehavior(usesV1Provider)
public void EnableWcfDataServicesServerBehavior(
    bool usesV1Provider
)
public:
void EnableWcfDataServicesServerBehavior(
    bool usesV1Provider
)
member EnableWcfDataServicesServerBehavior : 
        usesV1Provider:bool -> unit
public function EnableWcfDataServicesServerBehavior(
    usesV1Provider : boolean
)

Parameters

  • usesV1Provider
    Type: System.Boolean
    true if the server uses V1 provider, otherwise, false.

See Also

Reference

ODataMessageWriterSettings Class

EnableWcfDataServicesServerBehavior Overload

Microsoft.Data.OData Namespace