Method SetProfilingLevel
SetProfilingLevel(ProfilingLevel)
Sets the level of profile information to write.
public virtual CommandResult SetProfilingLevel(ProfilingLevel level)
Parameters
levelProfilingLevelThe profiling level.
Returns
- CommandResult
A CommandResult.
SetProfilingLevel(ProfilingLevel, TimeSpan)
Sets the level of profile information to write.
public virtual CommandResult SetProfilingLevel(ProfilingLevel level, TimeSpan slow)
Parameters
levelProfilingLevelThe profiling level.
slowTimeSpanThe threshold that defines a slow query.
Returns
- CommandResult
A CommandResult.