RemoveAllObjects Method

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The RemoveAllObjects method removes all objects from the list of objects to be copied during a transfer operation.

语法

object
.RemoveAllObjects()

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

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.

注意注意

RemoveAllObjects can be used with SQL Server 7.0, and Microsoft SQL Server 2000 or later.

Applies To: