Table of Contents

Class ServerApi

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Represents a server API.

public class ServerApi : IEquatable<ServerApi>
Inheritance
ServerApi
Implements
Inherited Members

Constructors

ServerApi(ServerApiVersion, Optional<bool?>, Optional<bool?>)

Initializes a new instance of the ServerApi class.

Properties

DeprecationErrors

Gets the deprecation errors flag.

Strict

Gets the strict flag.

Version

Gets the server API version.

Methods

Equals(ServerApi)

Indicates whether the current object is equal to another object of the same type.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

Operators

operator ==(ServerApi, ServerApi)

Returns true if the two values are equal.

operator !=(ServerApi, ServerApi)

Returns true if the two values are not equal.