Share via


TargetInfo.Capabilities Property

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

Property Value

Type: System.Int32
An integer value that represents the capabilities.

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='Target'

See Also

Reference

TargetInfo Class

Microsoft.SqlServer.Management.XEvent Namespace