Condividi tramite


XMLTask.FailOnDifference Property

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

Spazio dei nomi: Microsoft.SqlServer.Dts.Tasks.XMLTask
Assembly : Microsoft.SqlServer.XMLTask (in microsoft.sqlserver.xmltask.dll)

Sintassi

'Dichiarazione
Public Property FailOnDifference As Boolean
public bool FailOnDifference { get; set; }
public:
virtual property bool FailOnDifference {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_FailOnDifference ()

/** @property */
public final void set_FailOnDifference (boolean value)
public final function get FailOnDifference () : boolean

public final function set FailOnDifference (value : boolean)

Valore proprietà

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.

Osservazioni

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

XMLTask Class
XMLTask Members
Microsoft.SqlServer.Dts.Tasks.XMLTask Namespace