共用方式為


TargetInfo.Capabilities 屬性

Gets an integer value that represents the capabilities of a TargetInfo 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 TargetInfo 
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 value 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='Target'

請參閱

參考

TargetInfo 類別

Microsoft.SqlServer.Management.XEvent 命名空間