Compartir a través de


XMLTask.DiffOptions Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.XMLTask
Ensamblado:  Microsoft.SqlServer.XMLTask (en Microsoft.SqlServer.XMLTask.dll)

Sintaxis

'Declaración
Public Property DiffOptions As DTSXMLDiffOptions 
    Get 
    Set
'Uso
Dim instance As XMLTask 
Dim value As DTSXMLDiffOptions 

value = instance.DiffOptions

instance.DiffOptions = value
public DTSXMLDiffOptions DiffOptions { get; set; }
public:
virtual property DTSXMLDiffOptions DiffOptions {
    DTSXMLDiffOptions get () sealed;
    void set (DTSXMLDiffOptions value) sealed;
}
abstract DiffOptions : DTSXMLDiffOptions with get, set 
override DiffOptions : DTSXMLDiffOptions with get, set
final function get DiffOptions () : DTSXMLDiffOptions 
final function set DiffOptions (value : DTSXMLDiffOptions)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Dts.Tasks.XMLTask.DTSXMLDiffOptions
A value from the DTSXMLDiffOptions enumeration that indicates the options the operation uses when comparing documents.

Implementa

IDTSXMLTask.DiffOptions

Comentarios

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

Ejemplos

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

Vea también

Referencia

XMLTask Clase

Espacio de nombres Microsoft.SqlServer.Dts.Tasks.XMLTask