Property | Type | Description | |
---|---|---|---|
MongoServerSettings | System |
Method | Description | |
---|---|---|
Clone ( ) : |
Creates a clone of the settings.
|
|
Equals ( object obj ) : bool |
Compares two MongoServerSettings instances.
|
|
Freeze ( ) : |
Freezes the settings.
|
|
FromClientSettings ( |
Creates a new MongoServerSettings object from a MongoClientSettings object.
|
|
FromConnectionStringBuilder ( |
Gets a MongoServerSettings object intialized with values from a MongoConnectionStringBuilder.
|
|
FromUrl ( MongoDB.Driver.MongoUrl url ) : |
Gets a MongoServerSettings object intialized with values from a MongoUrl.
|
|
FrozenCopy ( ) : |
Returns a frozen copy of the settings.
|
|
GetCredentials ( string databaseName ) : MongoDB.Driver.MongoCredentials |
Gets credentials for a particular database.
|
|
GetHashCode ( ) : int |
Gets the hash code.
|
|
MongoServerSettings ( ) : System |
Creates a new instance of MongoServerSettings. Usually you would use a connection string instead.
|
|
ToString ( ) : string |
Returns a string representation of the settings.
|
Method | Description | |
---|---|---|
MongoServerSettings ( ConnectionMode connectionMode, System.TimeSpan connectTimeout, |
public Equals ( object obj ) : bool | ||
obj | object | The other instance. |
return | bool |
public static FromClientSettings ( |
||
clientSettings | The MongoClientSettings. | |
return |
public static FromConnectionStringBuilder ( |
||
builder | The MongoConnectionStringBuilder. | |
return |
public static FromUrl ( MongoDB.Driver.MongoUrl url ) : |
||
url | MongoDB.Driver.MongoUrl | The MongoUrl. |
return |
public GetCredentials ( string databaseName ) : MongoDB.Driver.MongoCredentials | ||
databaseName | string | The database name. |
return | MongoDB.Driver.MongoCredentials |