Database.Active

True (the default) if the database is available to be queried on.

public sealed bool Active { get; set; }

Remarks

Set this to False if the database should be disabled, such as if the database is optional and isn't available to this particular user. This setting is ignored for the main database.

See also:

Class Database