GridFSBucketTFileId Constructor |
Namespace: MongoDB.Driver.GridFSAssembly: MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.4.1
Syntax public GridFSBucket(
IMongoDatabase database,
GridFSBucketOptions options = null
)
Public Sub New (
database As IMongoDatabase,
Optional options As GridFSBucketOptions = Nothing
)
new :
database : IMongoDatabase *
?options : GridFSBucketOptions
(* Defaults:
let _options = defaultArg options null
*)
-> GridFSBucket
Parameters
- database
- Type: MongoDB.DriverIMongoDatabase
The database. - options (Optional)
- Type: MongoDB.Driver.GridFSGridFSBucketOptions
The options.
See Also