Event Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Runtime class for Event. Each instance of this class represents a row in sys.server_event_session_events.
public sealed class Event : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.XEvent.ISessionObject
type Event = class
inherit SfcInstance
interface ISfcDiscoverObject
interface ISessionObject
Public NotInheritable Class Event
Inherits SfcInstance
Implements ISessionObject
- Inheritance
- Implements
Event() |
Initializes a new instance of the Event class. Empty constructor is a convention in SFC. |
Event(Session, Event |
Initializes a new instance of the Event class from an EventInfo object. |
Event(Session, String) |
Initializes a new instance of the Event class with given parent and name. |
Type |
Type name |
Abstract |
(Inherited from SfcInstance) |
Actions |
Gets the actions for this event. |
Description |
Gets or sets event description. Set accessor is for internal use only. |
Event |
Gets the event fileds collection. |
ID |
Gets the description. |
Identity |
Gets the identity key. |
Key |
Returns the identity path of the object (Inherited from SfcInstance) |
Metadata | (Inherited from SfcInstance) |
ModuleID |
Gets the module ID. |
Name |
The name of the Event |
Package |
Gets the package name that the event belongs to. |
Parent |
Parent Property for Event. |
Predicate |
Predicate tree for PredicateExpression. |
Predicate |
This is the string representation of the predicate. |
Properties | (Inherited from SfcInstance) |
Property |
This property returns the default implementation of SFC for ISfcPropertyStorageProvider interface, it can be overriden in the child classes to return another storage provider (i.e. flat properties list) (Inherited from SfcInstance) |
Script |
Gets Event name formatted for scripting. |
State |
State of the object, used in Alter function in session. |
Urn |
Create a new Urn string on each request and return it. (Inherited from SfcInstance) |
Add |
Create an action from the ActionInfo and add it into the action collection. |
Add |
Create an action with the specify name and add it to the actions. |
Alter |
(Inherited from SfcInstance) |
Check |
To be called from domain for when an API requires the object to be Created Stronger than CheckObjectState (Inherited from SfcInstance) |
Check |
To be called from domain for any access to the object (Inherited from SfcInstance) |
Create |
(Inherited from SfcInstance) |
Create |
(Inherited from SfcInstance) |
Discover(ISfc |
(Inherited from SfcInstance) |
Drop |
(Inherited from SfcInstance) |
Get |
Get the child collection in this instance for the given element name string. (Inherited from SfcInstance) |
Get |
(Inherited from SfcInstance) |
Get |
Gets the object factory. |
Get |
(Inherited from SfcInstance) |
Get |
Gets Sfc Type Metadata. |
Get |
(Inherited from SfcInstance) |
Has |
Determines whether the event has at least one field needs to be set. |
Initialize |
Overridable from the child objects who care about initializing their states (dynamic metadata which is currently the ".Enabled" property) (Inherited from SfcInstance) |
Mark |
(Inherited from SfcInstance) |
Mark |
(Inherited from SfcInstance) |
Move |
(Inherited from SfcInstance) |
On |
(Inherited from SfcInstance) |
On |
(Inherited from SfcInstance) |
Post |
(Inherited from SfcInstance) |
Post |
(Inherited from SfcInstance) |
Post |
(Inherited from SfcInstance) |
Post |
(Inherited from SfcInstance) |
Post |
(Inherited from SfcInstance) |
Refresh() |
refreshes the object's properties by reading them from the server (Inherited from SfcInstance) |
Remove |
Removes the action from the session. |
Rename |
(Inherited from SfcInstance) |
Reset |
(Inherited from SfcInstance) |
Serialize(Xml |
(Inherited from SfcInstance) |
Set |
Set the EventInfo for a pending Event. |
To |
(Inherited from SfcInstance) |
Update |
(Inherited from SfcInstance) |
Validate() |
Basic child object's validation (Inherited from SfcInstance) |
property |
(Inherited from SfcInstance) |
Property |
(Inherited from SfcInstance) |
property |
(Inherited from SfcInstance) |
Property |
(Inherited from SfcInstance) |
ISession |
Generate the script for add an event. Used in Create Session. |
ISession |
Generating the script for drop the event. Used in Alter Session. |
ISession |
|
ISfc |