EventInfo.Capabilities 屬性
Gets an integer value that represents the capabilities of an EventInfo object.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public ReadOnly Property Capabilities As Integer
Get
'用途
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
屬性值
型別:System.Int32
An integer that represents the capabilities.
備註
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'