EncryptOptions Constructor (String, OptionalString, OptionalNullableGuid, OptionalNullableInt64, OptionalString, OptionalRangeOptions) |
Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public EncryptOptions(
string algorithm,
Optional<string> alternateKeyName = null,
Optional<Nullable<Guid>> keyId = null,
Optional<Nullable<long>> contentionFactor = null,
Optional<string> queryType = null,
Optional<RangeOptions> rangeOptions = null
)
Public Sub New (
algorithm As String,
Optional alternateKeyName As Optional(Of String) = Nothing,
Optional keyId As Optional(Of Nullable(Of Guid)) = Nothing,
Optional contentionFactor As Optional(Of Nullable(Of Long)) = Nothing,
Optional queryType As Optional(Of String) = Nothing,
Optional rangeOptions As Optional(Of RangeOptions) = Nothing
)
new :
algorithm : string *
?alternateKeyName : Optional<string> *
?keyId : Optional<Nullable<Guid>> *
?contentionFactor : Optional<Nullable<int64>> *
?queryType : Optional<string> *
?rangeOptions : Optional<RangeOptions>
(* Defaults:
let _alternateKeyName = defaultArg alternateKeyName null
let _keyId = defaultArg keyId null
let _contentionFactor = defaultArg contentionFactor null
let _queryType = defaultArg queryType null
let _rangeOptions = defaultArg rangeOptions null
*)
-> EncryptOptions
Parameters
- algorithm
- Type: SystemString
The encryption algorithm. - alternateKeyName (Optional)
- Type: MongoDB.DriverOptionalString
The alternate key name. - keyId (Optional)
- Type: MongoDB.DriverOptionalNullableGuid
The key Id. - contentionFactor (Optional)
- Type: MongoDB.DriverOptionalNullableInt64
The contention factor. - queryType (Optional)
- Type: MongoDB.DriverOptionalString
The query type. - rangeOptions (Optional)
- Type: MongoDB.DriverOptionalRangeOptions
The range options.
See Also