Method | Description | |
---|---|---|
CheckOpLogging ( ) : |
Checks the status of the database for the oplogging value
|
|
CopyDatabase ( string from, string targetConnectionString ) : |
Handles copying a database to another location
|
|
CopyDatabase ( string from, string to, string host ) : |
Handles copying a database to another location
|
|
CopyDatabase ( string from, string to, string host, int port, string username, string password ) : |
Handles copying a database to another location
|
|
CopyDatabase ( string from, string to, string host, string username, string password ) : |
Handles copying a database to another location
|
|
Dispose ( ) : void |
Handles cleaning up this database connection
|
|
FSync ( ) : |
Performs an FSync command against the database
|
|
FSync ( bool async ) : |
Performs an FSync command against the database
|
|
ForceError ( ) : |
Causes an error on the server -- Uh... wut?
|
|
GetBuildInfo ( ) : |
Returns the build info for the current database
|
|
GetDatabases ( ) : ListDatabasesResult |
Gets a list of all databases available
|
|
GetLastError ( ) : GetLastErrorResult |
Returns the most recent error from the server
|
|
GetOpTime ( ) : |
Returns the OpTime value from the server
|
|
GetPreviousError ( ) : |
Returns a previous error message from the server
|
|
Logout ( ) : void |
Sends the log out request to the server
|
|
MongoAdminDatabase ( string connectionString ) : System |
Creates access to the admin database using the provided information
|
|
MongoAdminDatabase ( string host, bool autoConnect ) : System |
Creates access to the admin database using the provided information
|
|
MongoAdminDatabase ( string host, int port ) : System |
Creates access to the admin database using the provided information
|
|
MongoAdminDatabase ( string host, int port, bool autoConnect ) : System |
Creates access to the admin database using the provided information
|
|
MongoAdminDatabase ( string host, int port, string username, string password, bool autoConnect ) : System |
Creates access to the admin database using the provided information
|
|
MongoAdminDatabase ( string host, string username, string password ) : System |
Creates access to the admin database using the provided information
|
|
ResetErrors ( ) : |
Clears any errors from the server
|
|
RunCommand ( BsonObject arguments ) : |
Manually invokes a command against the database
|
|
RunCommand ( BsonObject arguments, bool expectResponse ) : |
Manually invokes a command against the database
|
|
RunCommand ( object arguments ) : |
Manually invokes a command against the database
|
|
RunCommand ( object arguments, bool expectResponse ) : |
Manually invokes a command against the database
|
|
Shutdown ( ) : void |
Sends the shutdown signal to the database
|
public CheckOpLogging ( ) : |
||
return |
public CopyDatabase ( string from, string targetConnectionString ) : |
||
from | string | |
targetConnectionString | string | |
return |
public CopyDatabase ( string from, string to, string host ) : |
||
from | string | |
to | string | |
host | string | |
return |
public CopyDatabase ( string from, string to, string host, int port, string username, string password ) : |
||
from | string | |
to | string | |
host | string | |
port | int | |
username | string | |
password | string | |
return |
public CopyDatabase ( string from, string to, string host, string username, string password ) : |
||
from | string | |
to | string | |
host | string | |
username | string | |
password | string | |
return |
public FSync ( bool async ) : |
||
async | bool | |
return |
public ForceError ( ) : |
||
return |
public GetBuildInfo ( ) : |
||
return |
public GetDatabases ( ) : ListDatabasesResult | ||
return | ListDatabasesResult |
public GetOpTime ( ) : |
||
return |
public GetPreviousError ( ) : |
||
return |
public MongoAdminDatabase ( string connectionString ) : System | ||
connectionString | string | |
return | System |
public MongoAdminDatabase ( string host, bool autoConnect ) : System | ||
host | string | |
autoConnect | bool | |
return | System |
public MongoAdminDatabase ( string host, int port ) : System | ||
host | string | |
port | int | |
return | System |
public MongoAdminDatabase ( string host, int port, bool autoConnect ) : System | ||
host | string | |
port | int | |
autoConnect | bool | |
return | System |
public MongoAdminDatabase ( string host, int port, string username, string password, bool autoConnect ) : System | ||
host | string | |
port | int | |
username | string | |
password | string | |
autoConnect | bool | |
return | System |
public MongoAdminDatabase ( string host, string username, string password ) : System | ||
host | string | |
username | string | |
password | string | |
return | System |
public ResetErrors ( ) : |
||
return |
public RunCommand ( BsonObject arguments ) : |
||
arguments | BsonObject | |
return |
public RunCommand ( BsonObject arguments, bool expectResponse ) : |
||
arguments | BsonObject | |
expectResponse | bool | |
return |
public RunCommand ( object arguments ) : |
||
arguments | object | |
return |
public RunCommand ( object arguments, bool expectResponse ) : |
||
arguments | object | |
expectResponse | bool | |
return |