Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The runtime class for the Action class. Each instance of this class represents a row in sys.server_event_session_actions.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
Microsoft.SqlServer.Management.XEvent.Action
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public NotInheritable Class Action _
Inherits SfcInstance
'Usage
Dim instance As Action
public sealed class Action : SfcInstance
public ref class Action sealed : public SfcInstance
[<SealedAttribute>]
type Action =
class
inherit SfcInstance
end
public final class Action extends SfcInstance
The Action type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Action() | Initializes a new instance of the Action class. |
![]() |
Action(Event, ActionInfo) | Initializes a new instance of the Action class from the parent event and an ActionInfo object. |
![]() |
Action(Event, String) | Initializes a new instance of the Action class with parent XEvent object and the name in form of eventModuleId.packagename.eventname or packagename.eventname. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AbstractIdentityKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) |
![]() |
Description | Gets or sets the description of an Action object. |
![]() |
IdentityKey | Gets the identity key for an Action object. |
![]() |
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 Action object. |
![]() |
PackageName | Gets the name of the Package object that owns this action. |
![]() |
Parent | Gets or sets the XEvent object that is the parent of this action. |
![]() |
Properties | Returns a collection instance properties. (Inherited from SfcInstance.) |
![]() |
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.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CreateIdentityKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) |
![]() |
Discover | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetChildCollection | 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 for the Action object. |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. (Inherited from SfcInstance.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
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.) |
![]() |
InitializeUIPropertyState | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.) |
![]() |
OnPropertyValueChanges | 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.) |
![]() |
ResetKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) |
![]() |
Serialize | Serializes the instance to XML. (Inherited from SfcInstance.) |
![]() |
SetActionInfo | Sets the ActionInfo object for a pending Action object. |
![]() |
ToString | Returns a string representation of the instance Urn. (Inherited from SfcInstance.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
PropertyChanged | CLS-compliant event for property changes. (Inherited from SfcInstance.) |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (Inherited from SfcInstance.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.