Method SetProfilingLevel
SetProfilingLevel(ProfilingLevel)
Sets the level of profile information to write.
public virtual CommandResult SetProfilingLevel(ProfilingLevel level)
Parameters
level
ProfilingLevelThe 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
level
ProfilingLevelThe profiling level.
slow
TimeSpanThe threshold that defines a slow query.
Returns
- CommandResult
A CommandResult.