Class GridFSBucketOptions
Represents mutable options for a GridFS instance.
public class GridFSBucketOptions
- Inheritance
-
GridFSBucketOptions
- Inherited Members
Constructors
GridFSBucketOptions()
Initializes a new instance of the GridFSBucketOptions class.
public GridFSBucketOptions()
GridFSBucketOptions(GridFSBucketOptions)
Initializes a new instance of the GridFSBucketOptions class.
public GridFSBucketOptions(GridFSBucketOptions other)
Parameters
other
GridFSBucketOptionsThe other GridFSBucketOptions from which to copy the values.
GridFSBucketOptions(ImmutableGridFSBucketOptions)
Initializes a new instance of the GridFSBucketOptions class.
public GridFSBucketOptions(ImmutableGridFSBucketOptions other)
Parameters
other
ImmutableGridFSBucketOptionsThe other ImmutableGridFSBucketOptions from which to copy the values.
Properties
BucketName
Gets or sets the bucket name.
public string BucketName { get; set; }
Property Value
- string
The bucket name.
ChunkSizeBytes
Gets or sets the chunk size in bytes.
public int ChunkSizeBytes { get; set; }
Property Value
- int
The chunk size in bytes.
DisableMD5
Gets or sets whether to disable MD5 checksum computation when uploading a GridFS file.
public bool DisableMD5 { get; set; }
Property Value
- bool
Whether MD5 checksum computation is disabled when uploading a GridFS file.
ReadConcern
Gets or sets the read concern.
public ReadConcern ReadConcern { get; set; }
Property Value
- ReadConcern
The read concern.
ReadPreference
Gets or sets the read preference.
public ReadPreference ReadPreference { get; set; }
Property Value
- ReadPreference
The read preference.
WriteConcern
Gets or sets the write concern.
public WriteConcern WriteConcern { get; set; }
Property Value
- WriteConcern
The write concern.