Partager via


TeamFoundationDataTierComponent.GetDatabases Method

Gets all databases on the specified SQL Server instance. Available on SQL Server only.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetDatabases As List(Of DatabaseInformation)
public List<DatabaseInformation> GetDatabases()
public:
List<DatabaseInformation^>^ GetDatabases()
member GetDatabases : unit -> List<DatabaseInformation> 
public function GetDatabases() : List<DatabaseInformation>

Return Value

Type: System.Collections.Generic.List<DatabaseInformation>

.NET Framework Security

See Also

Reference

TeamFoundationDataTierComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace