IBCPSession::BCPDone (OLE DB)

Commits the remaining rows to be sent to SQL Server.

语法

HRESULT BCPDone(void);

备注

No other operation can be called on the IBCPSession interface after calling the BCPDone method. The only possibility is to call the IBCPSession::BCPInit method to initiate a new bulk copy operation. This is similar to calling the IRowsetFastLoad::Commit method.

Return Code Values

  • S_OK
    The method succeeded.
  • E_UNEXPECTED
    The call to the method was unexpected. For example, the BCPInit method was not called before calling this method.

请参阅

概念

Performing Bulk Copy Operations

其他资源

IBCPSession (OLE DB)

帮助和信息

获取 SQL Server 2005 帮助