Partilhar via


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)

Syntax

'Declaration
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)

Property Value

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

Remarks

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

Example

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

XMLTask Class
XMLTask Members
Microsoft.SqlServer.Dts.Tasks.XMLTask Namespace