XMLTask.DiffOptions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.