Property UpsertedId NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll UpsertedId Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. public override BsonValue UpsertedId { get; } Property Value BsonValue