Freigeben über


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)

Eigenschaftswert

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

Hinweise

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

Beispiel

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

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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