StatementEventHandler Delegate

The StatementEventHandler class represents the method that handles the event raised by a statement.

네임스페이스: Microsoft.SqlServer.Management.Common
어셈블리: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

구문

‘선언
Public Delegate Sub StatementEventHandler ( _
    sender As Object, _
    e As StatementEventArgs _
)
public delegate void StatementEventHandler (
    Object sender,
    StatementEventArgs e
)
public delegate void StatementEventHandler (
    Object^ sender, 
    StatementEventArgs^ e
)
/** @delegate */
public delegate void StatementEventHandler (
    Object sender, 
    StatementEventArgs e
)
JScript는 대리자의 사용을 지원하지만 새로 선언하는 것은 지원하지 않습니다.

매개 변수

  • sender
    An Object system object value that specifies the object that raised the event.

주의

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Microsoft.SqlServer.Management.Common Namespace

관련 자료

Handling SMO Events