CommandSent Event
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The CommandSent event occurs when SQL Distributed Management Objects (SQL-DMO) submits a Transact-SQL command batch to the connected instance of Microsoft SQL Server.
構文
Private Sub
object
_CommandSent(
SQLCommand as String
)
Parts
- object
Expression that evaluates to an object in the Applies To list.
- SQLCommand
String that contains the Transact-SQL command batch submitted.
Prototype (C/C++)
HRESULT CommandSent(SQLDMO_LPCSTR szSQL);
解説
The CommandSent event occurs only after the SQLServer object has connected successfully to an instance of SQL Server. SQL-DMO raises the event for every command batch sent, including Transact-SQL submitted for SQL-DMO processes such as collection enumeration and object property value determination.