Method WithMechanismProperty
WithMechanismProperty(string, object)
Creates a new MongoCredential with the specified mechanism property.
public MongoCredential WithMechanismProperty(string key, object value)
Parameters
Returns
- MongoCredential
A new MongoCredential with the specified mechanism property.