xSQL Schema Compare SDK for SQL Server version 12
GetDatabases Method

Returns all user databases located in the SQL Server instance.
Public Function GetDatabases() As SqlDatabaseCollection
public SqlDatabaseCollection GetDatabases()
public: SqlDatabaseCollection* GetDatabases(); 

Return Value

A SqlDatabaseCollection collection.
System databases such as master, msdb, tempdb, model are excluded.

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


SqlServer Class
SqlServer Members



┬ęCopyright 2022 xSQL Software. All Rights Reserved.

Send Feedback