Class GetProfilingLevelResult
Represents the results of a GetProfilingLevel command.
[Serializable]
[BsonSerializer(typeof(CommandResultSerializer<GetProfilingLevelResult>))]
public class GetProfilingLevelResult : CommandResult
- Inheritance
-
GetProfilingLevelResult
- Inherited Members
- Extension Methods
Constructors
GetProfilingLevelResult(BsonDocument)
Initializes a new instance of the GetProfilingLevelResult class.
public GetProfilingLevelResult(BsonDocument response)
Parameters
response
BsonDocumentThe response.
Properties
Level
Gets the profiling level.
public ProfilingLevel Level { get; }
Property Value
Slow
Gets the threshold for a slow query.
public TimeSpan Slow { get; }