EncryptOptions Constructor (String, OptionalString, OptionalNullableGuid, OptionalNullableInt64, OptionalNullableQueryType) |
Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax public EncryptOptions(
string algorithm,
Optional<string> alternateKeyName = default,
Optional<Guid?> keyId = default,
Optional<long?> contentionFactor = default,
Optional<QueryType?> queryType = default
)
Public Sub New (
algorithm As String,
Optional alternateKeyName As Optional(Of String) = Nothing,
Optional keyId As Optional(Of Guid?) = Nothing,
Optional contentionFactor As Optional(Of Long?) = Nothing,
Optional queryType As Optional(Of QueryType?) = Nothing
)
new :
algorithm : string *
?alternateKeyName : Optional<string> *
?keyId : Optional<Nullable<Guid>> *
?contentionFactor : Optional<Nullable<int64>> *
?queryType : Optional<Nullable<QueryType>>
(* Defaults:
let _alternateKeyName = defaultArg alternateKeyName new Optional<string>()
let _keyId = defaultArg keyId new Optional<Nullable<Guid>>()
let _contentionFactor = defaultArg contentionFactor new Optional<Nullable<int64>>()
let _queryType = defaultArg queryType new Optional<Nullable<QueryType>>()
*)
-> 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
[Beta] The contention factor. - queryType (Optional)
- Type: MongoDB.DriverOptionalNullableQueryType
[Beta] The query type.
See Also