Table of Contents

Method IsValid

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

IsValid(string)

Determines whether the specified database name is valid.

public static bool IsValid(string name)

Parameters

name string

The database name.

Returns

bool

True if the database name is valid.