AddObjectForTransfer Method

DTS Programming

DTS Programming

AddObjectForTransfer Method

The AddObjectForTransfer method adds an object to the list of Microsoft® SQL Server™ objects to be transferred.

Applies To
TransferObjectsTask Object TransferObjectsTask2 Object
Syntax

object.AddObjectForTransfer ObjectName, OwnerName, Type

Part Description
object Expression that evaluates to an object in the Applies To list
ObjectName Name of the object to transfer
OwnerName Object owner name
Type Type of object to transfer, from the DTSSQLObjectType constants

Prototype (C/C++)

HRESULT AddObjectForTransfer(
    BSTR ObjectName,
    BSTR OwnerName,
    DTSSQLObjectType Type);

See Also

DTSSQLObjectType

GetObjectForTransfer Method

ResetObjectsList Method