Table of Contents

Method CreateServer

Namespace
MongoDB.Driver.Core.Servers
Assembly
MongoDB.Driver.Core.dll

CreateServer(ClusterType, ClusterId, IClusterClock, EndPoint)

Creates the server.

IClusterableServer CreateServer(ClusterType clusterType, ClusterId clusterId, IClusterClock clusterClock, EndPoint endPoint)

Parameters

clusterType ClusterType

The cluster type.

clusterId ClusterId

The cluster identifier.

clusterClock IClusterClock

The cluster clock.

endPoint EndPoint

The end point.

Returns

IClusterableServer

A server.