Share via


ActionInfo.Capabilities Property

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

Property Value

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

Remarks

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'

See Also

Reference

ActionInfo Class

Microsoft.SqlServer.Management.XEvent Namespace