Share via


Server.IsTraceFlagOn(Int32, Boolean) Method

Definition

Checks whether a trace flag is enabled on the server

public bool IsTraceFlagOn (int traceFlag, bool isGlobalTraceFlag);
member this.IsTraceFlagOn : int * bool -> bool
Public Function IsTraceFlagOn (traceFlag As Integer, isGlobalTraceFlag As Boolean) As Boolean

Parameters

traceFlag
Int32

Trace flag number

isGlobalTraceFlag
Boolean

A boolean value indicating whether the trace flag is global

Returns

Applies to