Table of Contents

Class ServerApi

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.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)
Equals(object)
GetHashCode()
ToString()

Operators

operator ==(ServerApi, ServerApi)

Returns true if the two values are equal.

operator !=(ServerApi, ServerApi)

Returns true if the two values are not equal.