ReplicaSetConfig Constructor |
Namespace: MongoDB.Driver.Core.ClustersAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax public ReplicaSetConfig(
IEnumerable<EndPoint> members,
string name,
EndPoint primary,
Nullable<int> version
)
Public Sub New (
members As IEnumerable(Of EndPoint),
name As String,
primary As EndPoint,
version As Nullable(Of Integer)
)
new :
members : IEnumerable<EndPoint> *
name : string *
primary : EndPoint *
version : Nullable<int> -> ReplicaSetConfig
Parameters
- members
- Type: System.Collections.GenericIEnumerableEndPoint
The members. - name
- Type: SystemString
The name. - primary
- Type: System.NetEndPoint
The primary. - version
- Type: SystemNullableInt32
The version.
See Also