DTSDeleteImport Object [C++]

Use this object to delete log file data and summarized data from the Data Warehouse. This object should be run from within the context of a Data Transformation Services (DTS) package. The methods and properties should not be accessed directly. For more information about scripting the Data deletion DTS task, see Scripting the Data Deletion DTS Task.

ProgID:   Commerce.DTSDeleteImport (Externally creatable)
COM Class Name:   DTSDeleteImport
Type Library Name:   Microsoft Commerce 2002 Delete DTS Task Type Library
DLL Name:   CSDWDTSDelete.dll
Threading Model:   Apartment

[C++]

COM Interface Name:   _DTSDeleteImport
Interface ID Constant:   None
Header File:   None

Methods

[C++]

Method Description
CustomTask_Execute Executes the DTS task. This method is called indirectly when a task is run through a DTS package and should not be used when scripting this task.
PersistPropertyBag_Load Loads the DTS task properties. This method is called indirectly when a task is run through a DTS package and should not be used when scripting this task.
PersistPropertyBag_Save Saves the DTS task properties. This method is called indirectly when a task is run through a DTS package and should not be used when scripting this task.

[Visual Basic]

Method Description
CustomTask_Execute Executes the DTS task. This method is called indirectly when a task is run through a DTS package and should not be used when scripting this task.
PersistPropertyBag_Load Loads the DTS task properties. This method is called indirectly when a task is run through a DTS package and should not be used when scripting this task.
PersistPropertyBag_Save Saves the DTS task properties. This method is called indirectly when a task is run through a DTS package and should not be used when scripting this task.

Properties

[C++]

Property Type Description
Count long Determines the log files to save or delete based on the value of the DeleteType and WebLogDeleteType properties.

This property is read/write.

DeleteLevel long Determines if all data associated with the Web log file import will be deleted, or if only the detailed data will be deleted.

This property is read/write.

DeleteType long Determines if all data from the Data Warehouse is deleted, or if only specific log files are deleted.

This property is read/write.

Interval long Specifies the unit used for the Count property, in days, weeks, or months.

This property is read/write.

ListofLogs BSTR Stores the list of log files to be deleted.

This property is read/write.

NumRetries long Stores the number of retry attempts that will be made after a SQL connection/query failure.

This property is read/write.

RetryInterval long Stores the number of seconds between retry attempts.

This property is read/write.

SourceName BSTR Specifies the Web site or Data Warehouse for which this task is processing data. The default value is the first Data Warehouse or Web site on the alphabetically sorted list.

This property is read/write.

SourceType long An enumeration that specifies the level on which the DTS task will operate.

This property is read/write.

WebLogDeleteType long Determines if specific log files are deleted, or if rotating deletes are performed.

This property is read/write.

[Visual Basic]

Property Type Description
Count Long Determines the log files to save or delete based on the value of the DeleteType and WebLogDeleteType properties.

This property is read/write.

DeleteLevel Long Determines if all data associated with the Web log file import will be deleted, or if only the detailed data will be deleted.

This property is read/write.

DeleteType Long Determines if all data from the Data Warehouse is deleted, or if only specific log files are deleted.

This property is read/write.

Interval Long Specifies the unit used for the Count property, in days, weeks, or months.

This property is read/write.

ListofLogs String Stores the list of log files to be deleted.

This property is read/write.

NumRetries Long Stores the number of retry attempts that will be made after a SQL connection/query failure.

This property is read/write.

RetryInterval Long Stores the number of seconds between retry attempts.

This property is read/write.

SourceName String Specifies the Web site or Data Warehouse for which this task is processing data. The default value is the first Data Warehouse or Web site on the alphabetically sorted list.

This property is read/write.

SourceType Long An enumeration that specifies the level on which the DTS task will operate.

This property is read/write.

WebLogDeleteType Long Determines if specific log files are deleted, or if the rotating deletes are performed.

This property is read/write.

See Also

Scripting the Data Deletion DTS Task

[C++]

DTSCatalogImport Object

DTSIPResolution Object

DTSLogImport Object

DTSMarketingImport Object

DTSPostImport Object

DTSPredictor Object

DTSSynchAdminData Object

DTSTransactionImport Object

DTSUPMCustomTask Object

[Visual Basic]

DTSCatalogImport Object

DTSIPResolution Object

DTSLogImport Object

DTSMarketingImport Object

DTSPostImport Object

DTSPredictor Object

DTSSynchAdminData Object

DTSTransactionImport Object

DTSUPMCustomTask Object

Copyright © 2005 Microsoft Corporation.
All rights reserved.