Класс 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.) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.