MongoUrlGetCredential Method |
Gets the credential.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
Syntax public MongoCredential GetCredential()
Public Function GetCredential As MongoCredential
member GetCredential : unit -> MongoCredential
Return Value
Type:
MongoCredentialThe credential (or null if the URL has not authentication settings).
See Also