Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks if the specified database exists.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function CheckIfDatabaseExists ( _
databaseName As String _
) As Boolean
public bool CheckIfDatabaseExists(
string databaseName
)
public:
bool CheckIfDatabaseExists(
String^ databaseName
)
member CheckIfDatabaseExists :
databaseName:string -> bool
public function CheckIfDatabaseExists(
databaseName : String
) : boolean
Parameters
databaseName
Type: System.StringThe name of the database to check.
Return Value
Type: System.Boolean
Remarks
On Sql Azure this method can only be called if component is connected to the master database.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.