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.
Gets the number of databases on the current server.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetDatabaseCount As Integer
public int GetDatabaseCount()
public:
int GetDatabaseCount()
member GetDatabaseCount : unit -> int
public function GetDatabaseCount() : int
Return Value
Type: System.Int32
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.