Partager via


Propriété IDTSXMLTask.FailOnDifference

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.XMLTask
Assembly :  Microsoft.SqlServer.XMLTask (en Microsoft.SqlServer.XMLTask.dll)

Syntaxe

'Déclaration
Property FailOnDifference As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

IDTSXMLTask Interface

Espace de noms Microsoft.SqlServer.Dts.Tasks.XMLTask