StatementEventHandler 대리자
The StatementEventHandler class represents the method that handles the event raised by a statement.
네임스페이스: Microsoft.SqlServer.Management.Common
어셈블리: Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)
구문
‘선언
Public Delegate Sub StatementEventHandler ( _
sender As Object, _
e As StatementEventArgs _
)
‘사용 방법
Dim instance As New StatementEventHandler(AddressOf HandlerMethod)
public delegate void StatementEventHandler(
Object sender,
StatementEventArgs e
)
public delegate void StatementEventHandler(
Object^ sender,
StatementEventArgs^ e
)
type StatementEventHandler =
delegate of
sender:Object *
e:StatementEventArgs -> unit
Jscript는 위임 사용을 지원하지만 새로운 위임의 선언은 지원하지 않습니다.
매개 변수
- sender
유형: System. . :: . .Object
An Object system object value that specifies the object that raised the event.
- e
유형: Microsoft.SqlServer.Management.Common. . :: . .StatementEventArgs
An StatementEventArgs value that specifies the arguments passed to the event handler.