共用方式為


EventColumnInfo.Capabilities 屬性

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

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
<SfcPropertyAttribute(Data := True)> _
Public ReadOnly Property Capabilities As Integer 
    Get
'用途
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

屬性值

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

備註

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'

請參閱

參考

EventColumnInfo 類別

Microsoft.SqlServer.Management.XEvent 命名空間