Class UpdateResult
The result of an update operation.
public abstract class UpdateResult- Inheritance
- 
      
      UpdateResult
- Derived
- Inherited Members
Constructors
UpdateResult()
Initializes a new instance of the UpdateResult class.
protected UpdateResult()Properties
IsAcknowledged
Gets a value indicating whether the result is acknowledged.
public abstract bool IsAcknowledged { get; }Property Value
IsModifiedCountAvailable
Gets a value indicating whether the modified count is available.
public abstract bool IsModifiedCountAvailable { get; }Property Value
Remarks
The available modified count.
MatchedCount
Gets the matched count. If IsAcknowledged is false, this will throw an exception.
public abstract long MatchedCount { get; }Property Value
ModifiedCount
Gets the modified count. If IsAcknowledged is false, this will throw an exception.
public abstract long ModifiedCount { get; }Property Value
UpsertedId
Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception.
public abstract BsonValue UpsertedId { get; }