Server.IsTraceFlagOn(Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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