Microsoft.SqlServer.Management.XEvent 命名空间

The common object model for creating and using SQL Server Extended Events in client and server components of SQL Server. The Extended Events infrastructure supports the correlation of data from SQL Server events. Under certain circumstances, the infrastructure can also be used to correlated data from the operating system and database applications.

  说明
公共类 Action The runtime class for the Action class. Each instance of this class represents a row in sys.server_event_session_actions.
公共类 Action.Key Represents the SQL Foundation Class key class used for identification of an Action object.
公共类 ActionCollection Represents SQL Server Foundation classes (SFC) collection of Action objects.
公共类 ActionInfo Represents metadata for an Action object.
公共类 ActionInfo.Key Represents the key class for identification of an ActionInfo object.
公共类 ActionInfoCollection Represents the SQL Server Foundation Class collection for the ActionInfo class.
公共类 DataEventColumnInfo Represents a data column of an EventInfo object.
公共类 DataEventColumnInfo.Key The identity key of the column associated with this DataEventColumnInfo.
公共类 DataEventColumnInfoCollection Represents a collection of DataEventColumnInfo objects.
公共类 Event Represents the runtime class for XEvent objects. Each instance of this class represents a row in sys.server_event_session_events.
公共类 Event.Key An SfcKey class for identification of an Event.
公共类 EventCollection SQL Server Foundation classes (SFC) collection class of XEvent objects.
公共类 EventColumnInfo Represents a customizable column of an EventInfo object.
公共类 EventColumnInfo.Key Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
公共类 EventColumnInfoCollection Represents a collection of EventColumnInfo objects.
公共类 EventField Represents a row in sys.server_event_session_fields.
公共类 EventField.Key Represents the identity key for an EventField object.
公共类 EventFieldCollection Represents a collection class for EventField objects.
公共类 EventInfo Metadata class for the XEvent class and the parent class for EventColumnInfo objects.
公共类 EventInfo.Key SQL Foundation Class key class that identifies an EventInfo object.
公共类 EventInfoCollection SQL Server Foundation Class collection class for EventInfo objects.
公共类 MapInfo Metadata for MapInfo class.
公共类 MapInfo.Key Represents the identity key for a MapInfo.Key object.
公共类 MapInfoCollection Collection class for MapInfo objects.
公共类 MapValueInfo Represents a record in sys.dm_xe_map_values.
公共类 MapValueInfo.Key Internal key for the MapValueInfo class.
公共类 MapValueInfoCollection Collection class for MapValueInfo objects.
公共类 Package Metadata for other information classes such as EventInfo, TargetInfo, ActionInfo, and others listed in Remarks.
公共类 Package.Key A SQL Foundation Class key that identifies a Package object.
公共类 PackageCollection Represents the SQL Foundation Class collection for Package objects.
公共类 PredCompareExpr Represents a predicate expression that can be used in a conditional statement.
公共类 PredCompareInfo Metadata class for PredCompare objects.
公共类 PredCompareInfo.Key An SQL Foundation Class key for identification of PredCompareInfo objects.
公共类 PredCompareInfoCollection Sql Foundation Class collection for PredCompareInfo objects.
公共类 PredExpr Represents the abstract base class for the PredCompareExpr class.
公共类 PredFunctionExpr Represents the function expression in a predicate.
公共类 Predicate Represents the abstract base class for all predicate classes.
公共类 PredLogicalExpr Represents a predicate that can be used in an expression.
公共类 PredOperand Represents a predicate operand. A predicate operand can be a DataEventColumnInfo object or a PredSourceInfo object.
公共类 PredSourceInfo Represents pred_source objects in sys.dm_xe_objects.
公共类 PredSourceInfo.Key A SQL Foundation Class key for identification of PredSourceInfo objects.
公共类 PredSourceInfoCollection Represents the collection class for PredSourceInfo objects.
公共类 PredValue Represents an rvalue in PredCompareExpr object or the second parameter in the PredFunctionExpr object.
公共类 ReadOnlyEventColumnInfo Represents a readonly column of an EventInfo object.
公共类 ReadOnlyEventColumnInfo.Key A SQL Foundation Class key for identification of ReadOnlyEventColumnInfo objects.
公共类 ReadOnlyEventColumnInfoCollection Represents a collection class for ReadOnlyEventColumnInfo objects.
公共类 Session Represents a row in sys.server_event_sessions and includes data from sys.dm_xe_sessions if running.
公共类 Session.Key Internal identity key class for Session class.
公共类 SessionCollection Represents the collection for Session objects.
公共类 Target Represents the runtime class for Target objects. Each instance of this class represents a row in sys.server_event_session_targets.
公共类 Target.Key A key class for identification of Target objects.
公共类 TargetCollection SQL Server Foundation Class collection for Target objects.
公共类 TargetColumnInfo Represents a customizable column of a TargetInfo object.
公共类 TargetColumnInfo.Key An identity key class for TargetColumnInfo objects.
公共类 TargetColumnInfoCollection SQL Foundation Class collection for the TargetColumnInfo class.
公共类 TargetField Represents a row in sys.server_event_session_fields.
公共类 TargetField.Key A key class for identification of TargetField objects.
公共类 TargetFieldCollection SQL Foundation Class collection for TargetField objects.
公共类 TargetInfo Represents target objects in sys.dm_xe_objects.
公共类 TargetInfo.Key Represents the identity key for a TargetInfo object.
公共类 TargetInfoCollection Represents a collection class for TargetInfo objects.
公共类 TypeInfo Represents type objects in sys.dm_xe_objects.
公共类 TypeInfo.Key An SfcKey class for identification of TargetInfo objects.
公共类 TypeInfoCollection Represents the collection class for TypeInfo objects.
公共类 XEStore The XEStore class is the base class for all metadata classes and runtime classes.
公共类 XEStore.Key Represents an SfcKey class.
公共类 XEStore.ObjectMetadata Provides helper methods over the metadata hierarchy objects.
公共类 XEventException Base exception class for all XEventException classes.

接口

  接口 说明
公共接口 IXEObjectInfo Provides interface for the child objects of Package.

枚举

  枚举 说明
公共枚举 PredCompareExpr.ComparatorType Defines the comparator that is used between a PredOperand object and PredValue object in a PredCompareExpr object.
公共枚举 PredLogicalExpr.LogicalOperatorType Represents an enumeration of the logical operator types: AND, OR, NOT.
公共枚举 Session.EventRetentionModeEnum Event retention mode enumeration describes how event loss is handled.
公共枚举 Session.MemoryPartitionModeEnum Memory partition mode enumeration that describes the location in memory where event buffers are created.