Click or drag to resize

IClusterableServerFactoryCreateServer Method

Creates the server.

Namespace:  MongoDB.Driver.Core.Servers
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
IClusterableServer CreateServer(
	ClusterId clusterId,
	IClusterClock clusterClock,
	EndPoint endPoint
)

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