IClusterableServerFactoryCreateServer Method |
Creates the server.
Namespace:
MongoDB.Driver.Core.Servers
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
SyntaxIClusterableServer CreateServer(
ClusterId clusterId,
IClusterClock clusterClock,
EndPoint endPoint
)
Function CreateServer (
clusterId As ClusterId,
clusterClock As IClusterClock,
endPoint As EndPoint
) As IClusterableServer
abstract CreateServer :
clusterId : ClusterId *
clusterClock : IClusterClock *
endPoint : EndPoint -> IClusterableServer
Parameters
- clusterId
- Type: MongoDB.Driver.Core.ClustersClusterId
The cluster identifier. - clusterClock
- Type: MongoDB.Driver.Core.ClustersIClusterClock
The cluster clock. - endPoint
- Type: System.NetEndPoint
The end point.
Return Value
Type:
IClusterableServer
A server.
See Also