C# 클래스 MongoDB.Driver.MongoConnectionStringBuilder

Represents .NET style connection strings. We recommend you use URL style connection strings (see MongoUrl and MongoUrlBuilder).
상속: System.Data.Common.DbConnectionStringBuilder
파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AnyWriteConcernSettingsAreSet bool
GetServersString string
IsIntegerType bool
ParseReplicaSetTagSets IEnumerable
ParseServersString IEnumerable
ResetValues void
ToServerSettings MongoServerSettings
ToTimeSpan System.TimeSpan

공개 메소드들

메소드 설명
Clear ( ) : void

Clears all settings to their default values.

ContainsKey ( string keyword ) : bool

Tests whether a keyword is valid.

GetWriteConcern ( bool enabledDefault ) : WriteConcern

Returns a WriteConcern value based on this instance's settings and a default enabled value.

MongoConnectionStringBuilder ( ) : System

Creates a new instance of MongoConnectionStringBuilder.

MongoConnectionStringBuilder ( string connectionString ) : System

Creates a new instance of MongoConnectionStringBuilder.

this ( string keyword ) : object

Gets or sets individual settings by keyword.

비공개 메소드들

메소드 설명
AnyWriteConcernSettingsAreSet ( ) : bool
GetServersString ( IEnumerable servers ) : string
IsIntegerType ( object value ) : bool
ParseReplicaSetTagSets ( string value ) : IEnumerable
ParseServersString ( string value ) : IEnumerable
ResetValues ( ) : void
ToServerSettings ( ) : MongoServerSettings
ToTimeSpan ( string keyword, object value ) : System.TimeSpan

메소드 상세

Clear() 공개 메소드

Clears all settings to their default values.
public Clear ( ) : void
리턴 void

ContainsKey() 공개 메소드

Tests whether a keyword is valid.
public ContainsKey ( string keyword ) : bool
keyword string The keyword.
리턴 bool

GetWriteConcern() 공개 메소드

Returns a WriteConcern value based on this instance's settings and a default enabled value.
public GetWriteConcern ( bool enabledDefault ) : WriteConcern
enabledDefault bool The default enabled value.
리턴 WriteConcern

MongoConnectionStringBuilder() 공개 메소드

Creates a new instance of MongoConnectionStringBuilder.
public MongoConnectionStringBuilder ( ) : System
리턴 System

MongoConnectionStringBuilder() 공개 메소드

Creates a new instance of MongoConnectionStringBuilder.
public MongoConnectionStringBuilder ( string connectionString ) : System
connectionString string The initial settings.
리턴 System

this() 공개 메소드

Gets or sets individual settings by keyword.
public this ( string keyword ) : object
keyword string The keyword.
리턴 object