The RemoveAllObjects method removes all objects from the list of objects to be copied during a transfer operation.
object.RemoveAllObjects()
object
Expression that evaluates to an object in the Applies To list
HRESULT RemoveAllObjects();
An application calls RemoveAllObjects to clear the list of objects to be transferred. The application can then specify a different list of objects using the AddObject or AddObjectByName property.
Note RemoveAllObjects can be used with Microsoft® SQL Server™ 2000 and SQL Server 7.0.