XMLTask.DiffOptions Property
Gets or sets a value that indicates the options the operation uses when comparing documents.
命名空間: Microsoft.SqlServer.Dts.Tasks.XMLTask
組件: Microsoft.SqlServer.XMLTask (in microsoft.sqlserver.xmltask.dll)
語法
'宣告
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)
屬性值
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;
myTask.OperationType = DTSXMLOperation.Diff
myTask.DiffAlgorithm = DTSXMLDiffAlgorithm.Fast
myTask.DiffOptions = DTSXMLDiffOptions.IgnoreDtd
執行緒安全性
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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
XMLTask Class
XMLTask Members
Microsoft.SqlServer.Dts.Tasks.XMLTask Namespace