Databases.GetMainDatabase

Returns a Database object for the main database in the collection.

public Database GetMainDatabase();

See also:

Class Databases