Compartilhar via


Propriedade do RDL EventInfo.Capabilities

Gets an integer value that represents the capabilities of an EventInfo object.

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public ReadOnly Property Capabilities As Integer 
    Get
'Uso
Dim instance As EventInfo 
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

Valor da propriedade

Tipo: System.Int32
An integer that represents the capabilities.

Comentários

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='Event'

Consulte também

Referência

EventInfo Classe

Namespace Microsoft.SqlServer.Management.XEvent