Share via


DataServiceConfiguration.DisableValidationOnMetadataWrite Property

Gets or sets whether the data model is validated before it is written as a response to a request to the $metadata endpoint.

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

Syntax

'Declaration
Public Property DisableValidationOnMetadataWrite As Boolean 
    Get 
    Set
'Usage
Dim instance As DataServiceConfiguration 
Dim value As Boolean 

value = instance.DisableValidationOnMetadataWrite

instance.DisableValidationOnMetadataWrite = value
public bool DisableValidationOnMetadataWrite { get; set; }
public:
virtual property bool DisableValidationOnMetadataWrite {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract DisableValidationOnMetadataWrite : bool with get, set 
override DisableValidationOnMetadataWrite : bool with get, set
final function get DisableValidationOnMetadataWrite () : boolean 
final function set DisableValidationOnMetadataWrite (value : boolean)

Property Value

Type: System.Boolean
True when metadata validation is disabled; otherwise false.

Implements

IDataServiceConfiguration.DisableValidationOnMetadataWrite

Remarks

The default value for DisableValidationOnMetadataWrite is false, which means that metadata is validated.

See Also

Reference

DataServiceConfiguration Class

System.Data.Services Namespace