MongoGridFSFileInfo Constructor (MongoServer, MongoServerInstance, String, MongoGridFSSettings, String, MongoGridFSCreateOptions) |
Namespace: MongoDB.Driver.GridFSAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.0.1
Syntax public MongoGridFSFileInfo(
MongoServer server,
MongoServerInstance serverInstance,
string databaseName,
MongoGridFSSettings gridFSSettings,
string remoteFileName,
MongoGridFSCreateOptions createOptions
)
Public Sub New (
server As MongoServer,
serverInstance As MongoServerInstance,
databaseName As String,
gridFSSettings As MongoGridFSSettings,
remoteFileName As String,
createOptions As MongoGridFSCreateOptions
)
new :
server : MongoServer *
serverInstance : MongoServerInstance *
databaseName : string *
gridFSSettings : MongoGridFSSettings *
remoteFileName : string *
createOptions : MongoGridFSCreateOptions -> MongoGridFSFileInfo
Parameters
- server
- Type: MongoDB.DriverMongoServer
The server. - serverInstance
- Type: MongoDB.DriverMongoServerInstance
The server instance. - databaseName
- Type: SystemString
Name of the database. - gridFSSettings
- Type: MongoDB.Driver.GridFSMongoGridFSSettings
The GridFS settings. - remoteFileName
- Type: SystemString
The remote file name. - createOptions
- Type: MongoDB.Driver.GridFSMongoGridFSCreateOptions
The create options.
See Also