The DestinationObjectName property specifies the name of a data destination.
| DataDrivenQueryTask Object | DataPumpTask Object |
object.DestinationObjectName [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Name of a data destination |
A DataPumpTask object uses the DestinationObjectName property to open a simple rowset on the named destination object (for example, a table or view) if no destination SQL statement is specified. A DataDrivenQueryTask object uses the DestinationObjectName property to retrieve metadata only, and then releases the rowset.
String
Read/write
HRESULT GetDestinationObjectName(BSTR *pRetVal);
HRESULT SetDestinationObjectName(THIS_ DTS_IN BSTR NewValue);