Proprietà ActionInfo.Capabilities

Gets the capabilities of an instance of ActionInfo.

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public ReadOnly Property Capabilities As Integer 
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

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'

Vedere anche

Riferimento

ActionInfo Classe

Spazio dei nomi Microsoft.SqlServer.Management.XEvent