Click or drag to resize
ConnectionString Properties

The ConnectionString type exposes the following members.

Properties
  NameDescription
Public propertyAllOptionNames
Gets all the option names.
Public propertyAllUnknownOptionNames
Gets all the unknown option names.
Public propertyApplicationName
Gets the application name.
Public propertyAuthMechanism
Gets the auth mechanism.
Public propertyAuthMechanismProperties
Gets the auth mechanism properties.
Public propertyAuthSource
Gets the auth source.
Public propertyConnect
Gets the connection mode.
Public propertyConnectTimeout
Gets the connect timeout.
Public propertyDatabaseName
Gets the name of the database.
Public propertyFSync
Gets the fsync value of the write concern.
Public propertyHeartbeatInterval
Gets the heartbeat interval.
Public propertyHeartbeatTimeout
Gets the heartbeat timeout.
Public propertyHosts
Gets the hosts.
Public propertyIpv6
Gets whether to use IPv6.
Public propertyJournal
Gets the journal value of the write concern.
Public propertyLocalThreshold
Gets the local threshold.
Public propertyMaxIdleTime
Gets the max idle time.
Public propertyMaxLifeTime
Gets the max life time.
Public propertyMaxPoolSize
Gets the max size of the connection pool.
Public propertyMaxStaleness
Gets the max staleness.
Public propertyMinPoolSize
Gets the min size of the connection pool.
Public propertyPassword
Gets the password.
Public propertyReadConcernLevel
Gets the read concern level.
Public propertyReadPreference
Gets the read preference.
Public propertyReadPreferenceTags
Gets the read preference tags.
Public propertyReplicaSet
Gets the replica set name.
Public propertyServerSelectionTimeout
Gets the server selection timeout.
Public propertySocketTimeout
Gets the socket timeout.
Public propertySsl
Gets whether to use SSL.
Public propertySslVerifyCertificate
Gets whether to verify SSL certificates.
Public propertyUsername
Gets the username.
Public propertyUuidRepresentation
Gets the UUID representation.
Public propertyW
Gets the w value of the write concern.
Public propertyWaitQueueMultiple
Gets the wait queue multiple.
Public propertyWaitQueueSize
Gets the wait queue size.
Public propertyWaitQueueTimeout
Gets the wait queue timeout.
Public propertyWTimeout
Gets the wtimeout value of the write concern.
Top
See Also