The AddObjectForTransfer method adds an object to the list of Microsoft® SQL Server™ objects to be transferred.
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 |
HRESULT AddObjectForTransfer(
BSTR ObjectName,
BSTR OwnerName,
DTSSQLObjectType Type);