Property UpsertedId
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
UpsertedId
Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception.
public abstract BsonValue UpsertedId { get; }