XMLTask.DiffOptions Property

 

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

Namespace:   Microsoft.SqlServer.Dts.Tasks.XMLTask
Assembly:  Microsoft.SqlServer.XMLTask (in Microsoft.SqlServer.XMLTask.dll)

public DTSXMLDiffOptions DiffOptions { get; set; }

Property Value

Type: Microsoft.SqlServer.Dts.Tasks.XMLTask.DTSXMLDiffOptions

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

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

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;
Return to top
Show: