Share via


IDTSXMLTask.FailOnDifference Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets a value that indicates whether the task fails if the XML document fails to validate according to the validation schema.

Namespace:  Microsoft.SqlServer.Dts.Tasks.XMLTask
Assembly:  Microsoft.SqlServer.XMLTask (in Microsoft.SqlServer.XMLTask.dll)

Syntax

'Declaration
Property FailOnDifference As Boolean 
    Get 
    Set
'Usage
Dim instance As IDTSXMLTask 
Dim value As Boolean 

value = instance.FailOnDifference

instance.FailOnDifference = value
bool FailOnDifference { get; set; }
property bool FailOnDifference {
    bool get ();
    void set (bool value);
}
abstract FailOnDifference : bool with get, set
function get FailOnDifference () : boolean 
function set FailOnDifference (value : boolean)

Property Value

Type: System.Boolean
true if the task fails if the XML document fails to validate according to the validation schema; otherwise, false.

See Also

Reference

IDTSXMLTask Interface

Microsoft.SqlServer.Dts.Tasks.XMLTask Namespace