ConnectionEvents(使用 #import 的 Visual C++ 语法索引)
事件
HRESULT InfoMessage( struct Error * pError, enum
EventStatusEnum * adStatus, struct _Connection * pConnection );
HRESULT BeginTransComplete( long TransactionLevel,
struct Error * pError, enum EventStatusEnum * adStatus, struct
_Connection * pConnection );
HRESULT CommitTransComplete( struct Error *
pError, enum EventStatusEnum * adStatus, struct _Connection *
pConnection );
HRESULT RollbackTransComplete( struct Error *
pError, enum EventStatusEnum * adStatus, struct _Connection *
pConnection );
HRESULT WillExecute( BSTR * Source, enum
CursorTypeEnum * CursorType,
enum LockTypeEnum * LockType, long * Options, enum EventStatusEnum *
adStatus, struct _Command * pCommand, struct _Recordset * pRecordset,
struct _Connection * pConnection );
HRESULT ExecuteComplete( long RecordsAffected, struct
Error * pError, enum EventStatusEnum * adStatus, struct _Command
* pCommand, struct _Recordset * pRecordset, struct _Connection *
pConnection );
HRESULT WillConnect( BSTR * ConnectionString, BSTR *
UserID, BSTR * Password, long * Options, enum EventStatusEnum *
adStatus, struct _Connection * pConnection );
HRESULT ConnectComplete( struct Error *
pError, enum EventStatusEnum * adStatus, struct _Connection *
pConnection );
HRESULT Disconnect( enum EventStatusEnum *
adStatus, struct _Connection * pConnection );
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈