Method With
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.Encryption.dll
With(Optional<string>, Optional<string>, Optional<Guid?>, Optional<long?>, Optional<string>, Optional<RangeOptions>)
Returns a new EncryptOptions instance with some settings changed.
public EncryptOptions With(Optional<string> algorithm = default, Optional<string> alternateKeyName = default, Optional<Guid?> keyId = default, Optional<long?> contentionFactor = default, Optional<string> queryType = default, Optional<RangeOptions> rangeOptions = default)
Parameters
algorithm
Optional<string>The encryption algorithm.
alternateKeyName
Optional<string>The alternate key name.
keyId
Optional<Guid?>The keyId.
contentionFactor
Optional<long?>The contention factor.
queryType
Optional<string>The query type.
rangeOptions
Optional<RangeOptions>The range options.
Returns
- EncryptOptions
A new EncryptOptions instance.