Table of Contents

Method WithServerValue

Namespace
MongoDB.Driver.Core.Connections
Assembly
MongoDB.Driver.dll

WithServerValue(long)

Returns a new instance of ConnectionId with a new server value.

public ConnectionId WithServerValue(long serverValue)

Parameters

serverValue long

The server value.

Returns

ConnectionId

A ConnectionId.