xSQL Schema Compare SDK for SQL Server version 12
GetDatabase Method


Returns the database object with the specified name. The SQL Server connection uses the Windows Authentication.
Overload List
OverloadDescription
GetDatabase(String) Returns the database object with the specified name. The SQL Server connection uses the Windows Authentication.  
GetDatabase(String,String,String) Returns a database object with the specified name, username and password. The connection uses the SQL Server Authentication.  
GetDatabase(String,String) Returns the database object with the specified name, connecting to the SQL Server using the specified connection string.  
Requirements

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

Reference

SqlServer Class
SqlServer Members

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback