Nota
L'accés a aquesta pàgina requereix autorització. Podeu provar d'iniciar la sessió o de canviar els directoris.
L'accés a aquesta pàgina requereix autorització. Podeu provar de canviar els directoris.
Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.
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.
Sintaxis
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);
Notas
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.