RewrapManyDataKeyOptionsWith Method |
Returns a new DataKeyOptions instance with some settings changed.
Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax public RewrapManyDataKeyOptions With(
Optional<BsonDocument> masterKey = default,
Optional<string> provider = default
)
Public Function With (
Optional masterKey As Optional(Of BsonDocument) = Nothing,
Optional provider As Optional(Of String) = Nothing
) As RewrapManyDataKeyOptions
member With :
?masterKey : Optional<BsonDocument> *
?provider : Optional<string>
(* Defaults:
let _masterKey = defaultArg masterKey new Optional<BsonDocument>()
let _provider = defaultArg provider new Optional<string>()
*)
-> RewrapManyDataKeyOptions
Parameters
- masterKey (Optional)
- Type: MongoDB.DriverOptionalBsonDocument
The master key. - provider (Optional)
- Type: MongoDB.DriverOptionalString
The provider name.
Return Value
Type:
RewrapManyDataKeyOptionsA new DataKeyOptions instance.
See Also