Table of Contents

Method GetProfilingInfo

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

GetProfilingInfo(IMongoQuery)

Gets one or more documents from the system.profile collection.

public MongoCursor<SystemProfileInfo> GetProfilingInfo(IMongoQuery query)

Parameters

query IMongoQuery

A query to select which documents to return.

Returns

MongoCursor<SystemProfileInfo>

A cursor.