Freigeben über


Action-Klasse

The runtime class for the Action class. Each instance of this class represents a row in sys.server_event_session_actions.

Vererbungshierarchie

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

Der Action-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Action() Initializes a new instance of the Action class.
Öffentliche Methode Action(Event, ActionInfo) Initializes a new instance of the Action class from the parent event and an ActionInfo object.
Öffentliche Methode 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.

Zum Anfang

Eigenschaften

  Name Beschreibung
Geschützte Eigenschaft AbstractIdentityKey Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft Description Gets or sets the description of an Action object.
Öffentliche Eigenschaft IdentityKey Gets the identity key for an Action object.
Öffentliche Eigenschaft Metadata Returns metadata about the instance and its domain. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft ModuleID Gets the module identifier.
Öffentliche Eigenschaft Name Gets or sets the name of the Action object.
Öffentliche Eigenschaft PackageName Gets the name of the Package object that owns this action.
Öffentliche Eigenschaft Parent Gets or sets the XEvent object that is the parent of this action.
Öffentliche Eigenschaft Properties Returns a collection instance properties. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft State Gets the state of the object used in Alter function in session.
Öffentliche Eigenschaft Urn Returns the uniform resource name of the SfcInstance object. (Geerbt von SfcInstance.)

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode CreateIdentityKey Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode Discover Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode GetChildCollection Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode GetDomain Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche MethodeStatisches Element GetObjectFactory Gets the object factory constructor for the Action object.
Öffentliche Methode GetPropertySet Returns the set of properties for the SfcInstance object. (Geerbt von SfcInstance.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Geschützte Methode InitializeUIPropertyState Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Geschützte Methode OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (Geerbt von SfcInstance.)
Geschützte Methode OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (Geerbt von SfcInstance.)
Öffentliche Methode Refresh Refreshes the object's properties by reading them from the server. (Geerbt von SfcInstance.)
Geschützte Methode ResetKey Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.)
Öffentliche Methode Serialize Serializes the instance to XML. (Geerbt von SfcInstance.)
Öffentliche Methode SetActionInfo Sets the ActionInfo object for a pending Action object.
Öffentliche Methode ToString Returns a string representation of the instance Urn. (Geerbt von SfcInstance.)

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis PropertyChanged CLS-compliant event for property changes. (Geerbt von SfcInstance.)
Öffentliches Ereignis PropertyMetadataChanged CLS-compliant event for property metadata changes. (Geerbt von SfcInstance.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.XEvent-Namespace