Event Class

 

Represents the runtime class for T:Microsoft.SqlServer.Management.XEvent objects. Each instance of this class represents a row in sys.server_event_session_events.

Namespace:   Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

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

public ref class Event sealed : SfcInstance, ISfcDiscoverObject, 
	ISessionObject

NameDescription
System_CAPS_pubmethodEvent()

Initializes a new instance of the Event class.

System_CAPS_pubmethodEvent(Session^, EventInfo^)

Initializes a new instance of the Event class from the parent Package object and an EventInfo object.

System_CAPS_pubmethodEvent(Session^, String^)

Initializes a new instance of the Event class from the parent Package object and the name of the event.

NameDescription
System_CAPS_protpropertyAbstractIdentityKey

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubpropertyActions

Gets the actions for the T:Microsoft.SqlServer.Management.XEvent object constructed by the user.

System_CAPS_pubpropertyDescription

Gets or sets the Description property. The set accessor is for internal use only.

System_CAPS_pubpropertyEventFields

Gets the P:Microsoft.SqlServer.Management.XEvent.Event.EventFieldCollection.

System_CAPS_pubpropertyID

Gets the ID property as Int32.

System_CAPS_pubpropertyIdentityKey

Gets the IdentityKey property.

System_CAPS_pubpropertyMetadata

Returns metadata about the instance and its domain.(Inherited from SfcInstance.)

System_CAPS_pubpropertyModuleID

Gets the module identifier.

System_CAPS_pubpropertyName

Gets or sets the name of the Event object.

System_CAPS_pubpropertyPackageName

Gets the name of the Package object that owns the event.

System_CAPS_pubpropertyParent

Gets or sets the parent Session object for an event.

System_CAPS_pubpropertyPredicate

Gets or sets the predicate tree for PredicateExpression.

System_CAPS_pubpropertyPredicateExpression

Gets or sets the string representation of the PredExpr object of an Event object.

System_CAPS_pubpropertyProperties

Returns a collection instance properties.(Inherited from SfcInstance.)

System_CAPS_pubpropertyScriptName

Gets or sets the script name.

System_CAPS_pubpropertyState

Gets the state of the object used in Alter function in session.

System_CAPS_pubpropertyUrn

Returns the uniform resource name of the SfcInstance object.(Inherited from SfcInstance.)

NameDescription
System_CAPS_pubmethodAddAction(ActionInfo^)

Creates an Action object from an ActionInfo object and adds it to the ActionCollection.

System_CAPS_pubmethodAddAction(String^)

Creates an Action object with the specified name and adds it to the ActionCollection.

System_CAPS_protmethodCreateIdentityKey()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodDiscover(ISfcDependencyDiscoveryObjectSink^)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodGetChildCollection(String^)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodGetDomain()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetObjectFactory()

Gets the object factory constructor used to create an Action object.

System_CAPS_pubmethodGetPropertySet()

Returns the set of properties for the SfcInstance object.(Inherited from SfcInstance.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetTypeMetadata()

Gets or sets the type metadata.

System_CAPS_protmethodGetTypeMetadataImpl()

Indicates the domains that override by returning the right TypeMetadata class directly. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodHasCustomizableField()

Gets or sets a value that indicates whether the event contains a customizable field.

System_CAPS_protmethodInitializeUIPropertyState()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_protmethodOnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs^)

Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.)

System_CAPS_protmethodOnPropertyValueChanges(PropertyChangedEventArgs^)

Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.)

System_CAPS_pubmethodRefresh()

Refreshes the object's properties by reading them from the server.(Inherited from SfcInstance.)

System_CAPS_pubmethodRemoveAction(Action^)

Removes an Action object from the Session object.

System_CAPS_protmethodResetKey()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.)

System_CAPS_pubmethodSerialize(XmlWriter^)

Serializes the instance to XML.(Inherited from SfcInstance.)

System_CAPS_pubmethodSetEventInfo(EventInfo^)

Sets the EventInfo object for a pending T:Microsoft.SqlServer.Management.XEvent object.

System_CAPS_pubmethodToString()

Returns a string representation of the instance Urn.(Inherited from SfcInstance.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticTypeTypeName

Specifies the type of the type name.

NameDescription
System_CAPS_pubeventPropertyChanged

Occurs when a property value changes.(Inherited from SfcInstance.)

System_CAPS_pubeventPropertyMetadataChanged

Occurs when the metadata for a property has changed.(Inherited from SfcInstance.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcDiscoverObject::Discover(ISfcDependencyDiscoveryObjectSink^)

Discovers an Action object in metadata by using the ISfcDependencyDiscoveryObjectSink object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISessionObject::GetCreateScript()

Gets the create script.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISessionObject::GetDropScript()

Gets the drop script.

System_CAPS_pubinterfaceSystem_CAPS_privmethodISessionObject::IsDirty()

Determines whether the session object is dirty.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: