Click or drag to resize
ServerFactoryCreateServer Method
Creates the server.

Namespace: MongoDB.Driver.Core.Servers
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax
public IClusterableServer CreateServer(
	ClusterId clusterId,
	EndPoint endPoint
)

Parameters

clusterId
Type: MongoDB.Driver.Core.ClustersClusterId
The cluster identifier.
endPoint
Type: System.NetEndPoint
The end point.

Return Value

Type: IClusterableServer
A server.

Implements

IClusterableServerFactoryCreateServer(ClusterId, EndPoint)
See Also