Action 類別
The runtime class for the Action class. Each instance of this class represents a row in sys.server_event_session_actions.
繼承階層
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
Microsoft.SqlServer.Management.XEvent.Action
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Public NotInheritable Class Action _
Inherits SfcInstance
'用途
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
Action 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
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. |
上層
屬性
名稱 | 說明 | |
---|---|---|
AbstractIdentityKey | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 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. (繼承自 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. (繼承自 SfcInstance。) | |
State | Gets the state of the object used in Alter function in session. | |
Urn | Returns the uniform resource name of the SfcInstance object. (繼承自 SfcInstance。) |
上層
方法
名稱 | 說明 | |
---|---|---|
CreateIdentityKey | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
Discover | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
Equals | (繼承自 Object。) | |
GetChildCollection | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
GetDomain | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
GetHashCode | (繼承自 Object。) | |
GetObjectFactory | Gets the object factory constructor for the Action object. | |
GetPropertySet | Returns the set of properties for the SfcInstance object. (繼承自 SfcInstance。) | |
GetType | (繼承自 Object。) | |
GetTypeMetadataImpl | Indicates the domains that override by returning the right TypeMetadata class directly. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
InitializeUIPropertyState | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (繼承自 SfcInstance。) | |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (繼承自 SfcInstance。) | |
Refresh | Refreshes the object's properties by reading them from the server. (繼承自 SfcInstance。) | |
ResetKey | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
Serialize | Serializes the instance to XML. (繼承自 SfcInstance。) | |
SetActionInfo | Sets the ActionInfo object for a pending Action object. | |
ToString | Returns a string representation of the instance Urn. (繼承自 SfcInstance。) |
上層
事件
名稱 | 說明 | |
---|---|---|
PropertyChanged | CLS-compliant event for property changes. (繼承自 SfcInstance。) | |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (繼承自 SfcInstance。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。