MongoServerSettings Members
The MongoServerSettings type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MongoServerSettings()()()() |
Creates a new instance of MongoServerSettings. Usually you would use a connection string instead.
|
|
| MongoServerSettings(ConnectionMode, TimeSpan, MongoCredentials, GuidRepresentation, Boolean, TimeSpan, TimeSpan, Int32, Int32, String, SafeMode, IEnumerable<(Of <<'(MongoServerAddress>)>>), Boolean, TimeSpan, Int32, TimeSpan) |
Creates a new instance of MongoServerSettings. Usually you would use a connection string instead.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a clone of the settings.
|
|
| Equals |
Compares two MongoServerSettings instances.
(Overrides Object..::..Equals(Object).) |
|
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
| Freeze |
Freezes the settings to prevent any further changes to them.
|
|
| GetHashCode |
Gets the hash code.
(Overrides Object..::..GetHashCode()()()().) |
|
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
| ToString |
Returns a string representation of the settings.
(Overrides Object..::..ToString()()()().) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToBson(Type) | Overloaded.
Converts an object to a BSON document byte array.
(Defined by BsonExtensionMethods.) |
|
| ToBson(Type, IBsonSerializationOptions) | Overloaded.
Converts an object to a BSON document byte array.
(Defined by BsonExtensionMethods.) |
|
| ToBson(Type, BsonBinaryWriterSettings) | Overloaded.
Converts an object to a BSON document byte array.
(Defined by BsonExtensionMethods.) |
|
| ToBson(Type, IBsonSerializationOptions, BsonBinaryWriterSettings) | Overloaded.
Converts an object to a BSON document byte array.
(Defined by BsonExtensionMethods.) |
|
| ToBsonDocument(Type) | Overloaded.
Converts an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
|
| ToBsonDocument(Type, IBsonSerializationOptions) | Overloaded.
Converts an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
|
| ToJson(Type) | Overloaded.
Converts an object to a JSON string.
(Defined by BsonExtensionMethods.) |
|
| ToJson(Type, IBsonSerializationOptions) | Overloaded.
Converts an object to a JSON string.
(Defined by BsonExtensionMethods.) |
|
| ToJson(Type, JsonWriterSettings) | Overloaded.
Converts an object to a JSON string.
(Defined by BsonExtensionMethods.) |
|
| ToJson(Type, IBsonSerializationOptions, JsonWriterSettings) | Overloaded.
Converts an object to a JSON string.
(Defined by BsonExtensionMethods.) |
Properties
| Name | Description | |
|---|---|---|
| AddressFamily |
Gets the AddressFamily for the IPEndPoint (derived from the IPv6 setting).
|
|
| ConnectionMode |
Gets or sets the connection mode.
|
|
| ConnectTimeout |
Gets or sets the connect timeout.
|
|
| DefaultCredentials |
Gets or sets the default credentials.
|
|
| GuidRepresentation |
Gets or sets the representation to use for Guids.
|
|
| IPv6 |
Gets or sets whether to use IPv6.
|
|
| IsFrozen |
Gets whether the settings have been frozen to prevent further changes.
|
|
| MaxConnectionIdleTime |
Gets or sets the max connection idle time.
|
|
| MaxConnectionLifeTime |
Gets or sets the max connection life time.
|
|
| MaxConnectionPoolSize |
Gets or sets the max connection pool size.
|
|
| MinConnectionPoolSize |
Gets or sets the min connection pool size.
|
|
| ReplicaSetName |
Gets or sets the name of the replica set.
|
|
| SafeMode |
Gets or sets the SafeMode to use.
|
|
| Server |
Gets or sets the address of the server (see also Servers if using more than one address).
|
|
| Servers |
Gets or sets the list of server addresses (see also Server if using only one address).
|
|
| SlaveOk |
Gets or sets whether queries should be sent to secondary servers.
|
|
| SocketTimeout |
Gets or sets the socket timeout.
|
|
| WaitQueueSize |
Gets or sets the wait queue size.
|
|
| WaitQueueTimeout |
Gets or sets the wait queue timeout.
|
See Also
MongoServerSettings Members的更多相关文章
- AutoMapper:Unmapped members were found. Review the types and members below. Add a custom mapping expression, ignore, add a custom resolver, or modify the source/destination type
异常处理汇总-后端系列 http://www.cnblogs.com/dunitian/p/4523006.html 应用场景:ViewModel==>Mode映射的时候出错 AutoMappe ...
- [XAF] How to define a business class at runtime or allow end-users to configure its members via the application UI?
How to define a business class at runtime or allow end-users to configure its members via the applic ...
- JavaScript Patterns 5.6 Static Members
Public Static Members // constructor var Gadget = function (price) { this.price = price; }; // a sta ...
- Effective Java 13 Minimize the accessibility of classes and members
Information hiding is important for many reasons, most of which stem from the fact that it decouples ...
- C++类设计2(Class with pointer members)
二 Class with pointer members(Class String) 1. 测试代码(使用效果) int main() { String s1(), String s2("h ...
- 【转载】#303 - Accessibility of Class Members
Members of a class can have different kinds of accessibility. An accessibility keyword indicates wha ...
- Static Classes and Static Class Members
Static Classes and Static Class Members A static class is basically the same as a non-static class, ...
- Private Members in JavaScript
Private Members in JavaScript Douglas Crockford www.crockford.com JavaScript is the world's most mis ...
- (转) Special members
原地址:http://www.cplusplus.com/doc/tutorial/classes2/ Special members [NOTE: This chapter requires p ...
随机推荐
- python 读写西门子PLC 包含S7协议和Fetch/Write协议,s7支持200smart,300PLC,1200PLC,1500PLC
本文将使用一个gitHub开源的组件技术来读写西门子plc数据,使用的是基于以太网的TCP/IP实现,不需要额外的组件,读取操作只要放到后台线程就不会卡死线程,本组件支持超级方便的高性能读写操作 nu ...
- java MessageFormat.format 用法
FormatElement: { ArgumentIndex }:是从0开始的入参位置索引. { ArgumentIndex , FormatType } { ArgumentIndex , Form ...
- 最佳C/C++编辑器 source insight3
C/C++嵌入式代码编辑器source insight3下载地址 http://www.sourceinsight.com/eval.html 注册码:SI3US-361500-17409
- python3文件操作方法
在python3中,我们可以使用open打开一个文件,那么打开文件后,文件有什么操作方法呢?接下来我就记录一下比较常用的方法. 1. close() 关闭打开的文件 2. fileno() 返回文件句 ...
- Oracle联合查询
select * from teacher--联合查询 --01.union (并集)select tno from teacher where tno>1080 union(select tn ...
- sysfs文件系统学习--sysfs
一.sysfs简介1.sysfs就是利用VFS的接口去读写kobject的层次结构,建立起来的文件系统.其更新与删除是那些xxx_register()/unregister()做的事 情.从sysfs ...
- k8s PersistentVolume hostpath 简单使用
kubernets host PersistentVolume 测试 因为yaml 格式的问题 ,我修改为了json 创建 pv pv.json { "kind": "P ...
- 转 --自然语言工具包(NLTK)小结
原作者:http://www.cnblogs.com/I-Tegulia/category/706685.html 1.自然语言工具包(NLTK) NLTK 创建于2001 年,最初是宾州大学计算机与 ...
- XP IE8 安装失败
装完XP后,此时是IE6.装了QQ浏览器,提示会锁定浏览器主页,没怎么在意. 然后装IE8时,提示失败. 在网上搜索了下是其它浏览器或程序锁定了浏览器主页.卸载QQ浏览器后,成功安装IE8.
- mysql-2 数据类型
mysql中定义数据字段的类型对数据库的优化是非常重要的. mysql数据类型大致分为三类:数值.日期/时间.字符串(字符)类型. 数值类型 MySQL支持所有标准SQL数值数据类型. 这些类型包括严 ...