StatementEventArgs 클래스

The StatementEventArgs class represents the arguments used when a statement event is raised.

상속 계층

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Common.StatementEventArgs

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

구문

‘선언
Public Class StatementEventArgs _
    Inherits EventArgs
‘사용 방법
Dim instance As StatementEventArgs
public class StatementEventArgs : EventArgs
public ref class StatementEventArgs : public EventArgs
type StatementEventArgs =  
    class 
        inherit EventArgs 
    end
public class StatementEventArgs extends EventArgs

StatementEventArgs 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 StatementEventArgs Initializes a new instance of the StatementEventArgs class for the specified Transact-SQL statement at the specified time and date.

맨 위로 이동

속성

  이름 설명
공용 속성 SqlStatement Gets the Transact-SQL statement that caused the statement event.
공용 속성 TimeStamp Gets the time and date when the statement event occurred.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString Returns a String value that represents the StatementEventArgs object. (Object.ToString()을(를) 재정의함)

맨 위로 이동

주의

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

SMO 이벤트 처리

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Common 네임스페이스

관련 자료

SMO 이벤트 처리