مشاركة عبر


EventColumnInfo.Capabilities Property

Gets an integer that references the capabilities of an EventColumnInfo object.

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

Syntax

'Declaration
<SfcPropertyAttribute(Data := True)> _
Public ReadOnly Property Capabilities As Integer 
    Get
'Usage
Dim instance As EventColumnInfo 
Dim value As Integer 

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

Property Value

Type: System.Int32
An integer that references the capabilities of an EventColumnInfo object.

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

EventColumnInfo Class

Microsoft.SqlServer.Management.XEvent Namespace