XMLTask.DiffOptions Property

Definition

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

public:
 property Microsoft::SqlServer::Dts::Tasks::XMLTask::DTSXMLDiffOptions DiffOptions { Microsoft::SqlServer::Dts::Tasks::XMLTask::DTSXMLDiffOptions get(); void set(Microsoft::SqlServer::Dts::Tasks::XMLTask::DTSXMLDiffOptions value); };
public Microsoft.SqlServer.Dts.Tasks.XMLTask.DTSXMLDiffOptions DiffOptions { get; set; }
member this.DiffOptions : Microsoft.SqlServer.Dts.Tasks.XMLTask.DTSXMLDiffOptions with get, set
Public Property DiffOptions As DTSXMLDiffOptions

Property Value

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

Implements

Examples

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  

Remarks

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

Applies to