Share via


Session.TrackCausality Property

Gets or sets a Boolean value indicating whether the TrackCausality object is activated.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property TrackCausality As Boolean 
    Get 
    Set
'Usage
Dim instance As Session 
Dim value As Boolean 

value = instance.TrackCausality

instance.TrackCausality = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public bool TrackCausality { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property bool TrackCausality {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member TrackCausality : bool with get, set
function get TrackCausality () : boolean 
function set TrackCausality (value : boolean)

Property Value

Type: System.Boolean
Returns True if TrackCausality object is active, otherwise False.

See Also

Reference

Session Class

Microsoft.SqlServer.Management.XEvent Namespace