Table of Contents

Class SystemProfileInfo

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

Represents a document from the system.profile collection.

[Serializable]
[BsonSerializer(typeof(SystemProfileInfoSerializer))]
public class SystemProfileInfo : BsonDocumentBackedClass
Inheritance
SystemProfileInfo
Inherited Members
Extension Methods

Constructors

SystemProfileInfo()

Initializes a new instance of the SystemProfileInfo class.

public SystemProfileInfo()

Properties

Abbreviated

Gets or sets the abbreviated profile info (only used when the profile info would have exceeded 100KB).

public string Abbreviated { get; set; }

Property Value

string

Client

Gets or sets the client.

public string Client { get; set; }

Property Value

string

Command

Gets or sets the command.

public BsonDocument Command { get; set; }

Property Value

BsonDocument

CursorId

Gets or sets the cursor Id.

public long CursorId { get; set; }

Property Value

long

Duration

Gets or sets the duration.

public TimeSpan Duration { get; set; }

Property Value

TimeSpan

Error

Gets or sets the error message.

public string Error { get; set; }

Property Value

string

Exception

Gets or sets the exception message.

public string Exception { get; set; }

Property Value

string

ExceptionCode

Gets or sets the exception code.

public int ExceptionCode { get; set; }

Property Value

int

Exhaust

Gets or sets a value indicating whether exhaust was true.

public bool Exhaust { get; set; }

Property Value

bool

FastMod

Gets or sets a value indicating whether fastMod was true.

public bool FastMod { get; set; }

Property Value

bool

FastModInsert

Gets or sets a value indicating whether fastModInsert was true.

public bool FastModInsert { get; set; }

Property Value

bool

IdHack

Gets or sets a value indicating whether idHack was true.

public bool IdHack { get; set; }

Property Value

bool

Info

Gets or sets the info string (only present with pre 2.0 servers).

public string Info { get; set; }

Property Value

string

KeyUpdates

Gets or sets the number of key updates.

public int KeyUpdates { get; set; }

Property Value

int

LockStatistics

Gets or sets the lock statistics.

public SystemProfileLockStatistics LockStatistics { get; set; }

Property Value

SystemProfileLockStatistics

Moved

Gets or sets a value indicating whether moved was true.

public bool Moved { get; set; }

Property Value

bool

Namespace

Gets or sets the namespace.

public string Namespace { get; set; }

Property Value

string

NumberMoved

Gets or sets the number of documents moved.

public int NumberMoved { get; set; }

Property Value

int

NumberOfYields

Gets or sets the number of yields.

public int NumberOfYields { get; set; }

Property Value

int

NumberReturned

Gets or sets the number of documents returned.

public int NumberReturned { get; set; }

Property Value

int

NumberScanned

Gets or sets the number of documents scanned.

public int NumberScanned { get; set; }

Property Value

int

NumberToReturn

Gets or sets the number of documents to return.

public int NumberToReturn { get; set; }

Property Value

int

NumberToSkip

Gets or sets the number of documents to skip.

public int NumberToSkip { get; set; }

Property Value

int

NumberUpdated

Gets or sets the number of documents update by an update operation.

public int NumberUpdated { get; set; }

Property Value

int

Op

Gets or sets the operation.

public string Op { get; set; }

Property Value

string

Query

Gets or sets the query.

public BsonDocument Query { get; set; }

Property Value

BsonDocument

RawDocument

Gets the raw document.

public BsonDocument RawDocument { get; }

Property Value

BsonDocument

ResponseLength

Gets or sets the response length.

public int ResponseLength { get; set; }

Property Value

int

ScanAndOrder

Gets or sets a value indicating whether scanAndOrder was true.

public bool ScanAndOrder { get; set; }

Property Value

bool

Timestamp

Gets or sets the timestamp.

public DateTime Timestamp { get; set; }

Property Value

DateTime

UpdateObject

Gets or sets the update object.

public BsonDocument UpdateObject { get; set; }

Property Value

BsonDocument

Upsert

Gets or sets a value indicating whether upsert was true.

public bool Upsert { get; set; }

Property Value

bool

User

Gets or sets the user.

public string User { get; set; }

Property Value

string