مشاركة عبر


EventInfo.Capabilities Property

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

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 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

Property Value

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

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

See Also

Reference

EventInfo Class

Microsoft.SqlServer.Management.XEvent Namespace