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.
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Microsoft.SqlServer.Management.Sdk.Sfc::SfcInstance
Microsoft.SqlServer.Management.XEvent::Event
| Name | Description | |
|---|---|---|
![]() | Event() | Initializes a new instance of the Event class. |
![]() | Event(Session^, EventInfo^) | |
![]() | Event(Session^, String^) | Initializes a new instance of the Event class from the parent Package object and the name of the event. |
| Name | Description | |
|---|---|---|
![]() | AbstractIdentityKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Actions | Gets the actions for the T:Microsoft.SqlServer.Management.XEvent object constructed by the user. |
![]() | Description | Gets or sets the Description property. The set accessor is for internal use only. |
![]() | EventFields | Gets the P:Microsoft.SqlServer.Management.XEvent.Event.EventFieldCollection. |
![]() | ID | |
![]() | IdentityKey | Gets the IdentityKey property. |
![]() | Metadata | Returns metadata about the instance and its domain.(Inherited from 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.(Inherited from SfcInstance.) |
![]() | ScriptName | Gets or sets the script name. |
![]() | State | Gets the state of the object used in Alter function in session. |
![]() | Urn | Returns the uniform resource name of the SfcInstance object.(Inherited from SfcInstance.) |
| Name | Description | |
|---|---|---|
![]() | AddAction(ActionInfo^) | Creates an Action object from an ActionInfo object and adds it to the ActionCollection. |
![]() | AddAction(String^) | Creates an Action object with the specified name and adds it to the ActionCollection. |
![]() | CreateIdentityKey() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Discover(ISfcDependencyDiscoveryObjectSink^) | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetChildCollection(String^) | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | GetDomain() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() ![]() | GetObjectFactory() | Gets the object factory constructor used to create an Action object. |
![]() | GetPropertySet() | Returns the set of properties for the SfcInstance object.(Inherited from SfcInstance.) |
![]() | GetType() | (Inherited from Object.) |
![]() ![]() | GetTypeMetadata() | Gets or sets the type metadata. |
![]() | GetTypeMetadataImpl() | 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.) |
![]() | HasCustomizableField() | Gets or sets a value that indicates whether the event contains a customizable field. |
![]() | InitializeUIPropertyState() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs^) | Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.) |
![]() | OnPropertyValueChanges(PropertyChangedEventArgs^) | Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.) |
![]() | Refresh() | Refreshes the object's properties by reading them from the server.(Inherited from SfcInstance.) |
![]() | RemoveAction(Action^) | |
![]() | ResetKey() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Serialize(XmlWriter^) | Serializes the instance to XML.(Inherited from SfcInstance.) |
![]() | SetEventInfo(EventInfo^) | Sets the EventInfo object for a pending T:Microsoft.SqlServer.Management.XEvent object. |
![]() | ToString() | Returns a string representation of the instance Urn.(Inherited from SfcInstance.) |
| Name | Description | |
|---|---|---|
![]() ![]() | TypeTypeName | Specifies the type of the type name. |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Occurs when a property value changes.(Inherited from SfcInstance.) |
![]() | PropertyMetadataChanged | Occurs when the metadata for a property has changed.(Inherited from SfcInstance.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ISfcDiscoverObject::Discover(ISfcDependencyDiscoveryObjectSink^) | Discovers an Action object in metadata by using the ISfcDependencyDiscoveryObjectSink object. |
![]() ![]() | ISessionObject::GetCreateScript() | Gets the create script. |
![]() ![]() | ISessionObject::GetDropScript() | Gets the drop script. |
![]() ![]() | ISessionObject::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.








