IBCPSession::BCPDone (OLE DB)

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.


The method succeeded.


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

Community Additions

© 2015 Microsoft