다음을 통해 공유


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'

참고 항목

참조

EventInfo 클래스

Microsoft.SqlServer.Management.XEvent 네임스페이스