Event 클래스

Represents the runtime class for XEvent objects. Each instance of this class represents a row in sys.server_event_session_events.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.XEvent.Event

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

구문

‘선언
Public NotInheritable Class Event _
    Inherits SfcInstance _
    Implements ISfcDiscoverObject
‘사용 방법
Dim instance As Event
public sealed class Event : SfcInstance, 
    ISfcDiscoverObject
public ref class Event sealed : public SfcInstance, 
    ISfcDiscoverObject
[<SealedAttribute>]
type Event =  
    class 
        inherit SfcInstance 
        interface ISfcDiscoverObject 
    end
public final class Event extends SfcInstance implements ISfcDiscoverObject

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

생성자

  이름 설명
공용 메서드 Event() Initializes a new instance of the Event class.
공용 메서드 Event(Session, EventInfo) Initializes a new instance of the Event class from the parent Package object and an EventInfo object.
공용 메서드 Event(Session, String) Initializes a new instance of the Event class from the parent Package object and the name of the event.

맨 위로 이동

속성

  이름 설명
보호된 속성 AbstractIdentityKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 속성 Actions Gets the actions for the XEvent object constructed by the user.
공용 속성 Description Gets or sets the Description property. The set accessor is for internal use only.
공용 속성 EventFields Gets the EventFieldCollection.
공용 속성 ID Gets the ID property as Int32.
공용 속성 IdentityKey Gets the IdentityKey property.
공용 속성 Metadata Returns metadata about the instance and its domain. (SfcInstance에서 상속됨)
공용 속성 ModuleID Gets the module identifier.
공용 속성 Name Gets or sets the name of the Event object.
공용 속성 PackageName Gets the name of the Package object that owns the event.
공용 속성 Parent Gets or sets the parent Session object for an event.
공용 속성 Predicate Gets or sets the predicate tree for PredicateExpression.
공용 속성 PredicateExpression Gets or sets the string representation of the PredExpr object of an Event object.
공용 속성 Properties Returns a collection instance properties. (SfcInstance에서 상속됨)
공용 속성 State Gets the state of the object used in Alter function in session.
공용 속성 Urn Returns the uniform resource name of the SfcInstance object. (SfcInstance에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 AddAction(String) Creates an Action object with the specified name and adds it to the ActionCollection.
공용 메서드 AddAction(ActionInfo) Creates an Action object from an ActionInfo object and adds it to the ActionCollection.
보호된 메서드 CreateIdentityKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Discover 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 GetChildCollection 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 GetDomain 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드정적 멤버 GetObjectFactory Gets the object factory constructor used to create an Action object.
공용 메서드 GetPropertySet Returns the set of properties for the SfcInstance object. (SfcInstance에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
보호된 메서드 InitializeUIPropertyState 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
보호된 메서드 OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (SfcInstance에서 상속됨)
보호된 메서드 OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (SfcInstance에서 상속됨)
공용 메서드 Refresh Refreshes the object's properties by reading them from the server. (SfcInstance에서 상속됨)
공용 메서드 RemoveAction Removes an Action object from the Session object.
보호된 메서드 ResetKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Serialize Serializes the instance to XML. (SfcInstance에서 상속됨)
공용 메서드 SetEventInfo Sets the EventInfo object for a pending XEvent object.
공용 메서드 ToString Returns a string representation of the instance Urn. (SfcInstance에서 상속됨)

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 PropertyChanged CLS-compliant event for property changes. (SfcInstance에서 상속됨)
공용 이벤트 PropertyMetadataChanged CLS-compliant event for property metadata changes. (SfcInstance에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 ISfcDiscoverObject.Discover Discovers an Action object in metadata by using the ISfcDependencyDiscoveryObjectSink object.

맨 위로 이동

스레드 보안

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

참고 항목

참조

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