Freigeben über


ActionInfo.Capabilities-Eigenschaft

Gets the capabilities of an instance of ActionInfo.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public ReadOnly Property Capabilities As Integer 
    Get
'Usage
Dim instance As ActionInfo 
Dim value As Integer 

value = instance.Capabilities
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public int Capabilities { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property int Capabilities {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member Capabilities : int
function get Capabilities () : int

Eigenschaftswert

Typ: System.Int32
Returns an int that describes the capabilities of an instance of Action.

Hinweise

You can get the capabilities integers and their descriptions by running the following query.

select distinct(capabilities_desc) from
sys.dm_xe_objects where object_type='action'

Siehe auch

Verweis

ActionInfo Klasse

Microsoft.SqlServer.Management.XEvent-Namespace