Table of Contents

Class GetProfilingLevelResult

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

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 BsonDocument

The response.

Properties

Level

Gets the profiling level.

public ProfilingLevel Level { get; }

Property Value

ProfilingLevel

Slow

Gets the threshold for a slow query.

public TimeSpan Slow { get; }

Property Value

TimeSpan