Table of Contents

Operator operator !=

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

operator !=(MongoServerAddress, MongoServerAddress)

Compares two server addresses.

public static bool operator !=(MongoServerAddress lhs, MongoServerAddress rhs)

Parameters

lhs MongoServerAddress

The first address.

rhs MongoServerAddress

The other address.

Returns

bool

True if the two addresses are not equal (or one is null and the other is not).