Method Resolve
- Namespace
- MongoDB.Driver.Core.Configuration
- Assembly
- MongoDB.Driver.dll
Resolve(CancellationToken)
Resolves a connection string. If the connection string indicates more information is available in the DNS system, it will acquire that information as well.
Parameters
cancellationToken
CancellationToken The cancellation token.
Returns
- Connection
String A resolved ConnectionString.
Resolve(bool, CancellationToken)
Resolves a connection string. If the connection string indicates more information is available in the DNS system, it will acquire that information as well.
Parameters
resolveHosts
boolWhether to resolve hosts.
cancellationToken
CancellationToken The cancellation token.
Returns
- Connection
String A resolved ConnectionString.