Method TryCreate
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
TryCreate(string, out IKmsProvider)
Creates KMS provider if possible.
bool TryCreate(string providerName, out IKmsProvider provider)
Parameters
providerName
string
The requested provider name.
provider
IKmsProvider
When this method succeeds contains the created provider, otherwise null.
Returns
true if the requested provider was created, otherwise false.