Condividi tramite


XMLTask.DiffOptions Property

Gets or sets a value that indicates the options the operation uses when comparing documents.

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

Sintassi

'Dichiarazione
Public Property DiffOptions As DTSXMLDiffOptions
public DTSXMLDiffOptions DiffOptions { get; set; }
public:
virtual property DTSXMLDiffOptions DiffOptions {
    DTSXMLDiffOptions get () sealed;
    void set (DTSXMLDiffOptions value) sealed;
}
/** @property */
public final DTSXMLDiffOptions get_DiffOptions ()

/** @property */
public final void set_DiffOptions (DTSXMLDiffOptions value)
public final function get DiffOptions () : DTSXMLDiffOptions

public final function set DiffOptions (value : DTSXMLDiffOptions)

Valore proprietà

A value from the DTSXMLDiffOptions enumeration that indicates the options the operation uses when comparing documents.

Osservazioni

This property is used only when the OperationType is set to Diff.

Esempio

The following code example assumes that an XMLTask has been created as myTask, with an OperationType set to Diff. It uses the DTSXMLDiffOptions enumeration to set the DiffOptions value.

myTask.OperationType = DTSXMLOperation.Diff;
myTask.DiffAlgorithm = DTSXMLDiffAlgorithm.Fast;
myTask.DiffOptions = DTSXMLDiffOptions.IgnoreDtd;
myTask.OperationType = DTSXMLOperation.Diff
myTask.DiffAlgorithm = DTSXMLDiffAlgorithm.Fast
myTask.DiffOptions = DTSXMLDiffOptions.IgnoreDtd

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