Partager via


Propriété XMLTask.FailOnDifference

Gets or sets a Boolean 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
Public Property FailOnDifference As Boolean 
    Get 
    Set
'Utilisation
Dim instance As XMLTask 
Dim value As Boolean 

value = instance.FailOnDifference

instance.FailOnDifference = value
public bool FailOnDifference { get; set; }
public:
virtual property bool FailOnDifference {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract FailOnDifference : bool with get, set 
override FailOnDifference : bool with get, set
final function get FailOnDifference () : boolean 
final 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; false if XML validation does not affect task success.

Implémente

IDTSXMLTask.FailOnDifference

Notes

Default value is False. This property is used when the OperationType is set to Diff or Patch.

Voir aussi

Référence

XMLTask Classe

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