Condividi tramite


TeamFoundationDataTierComponent.GetDatabaseInfo Method

Retrieves a detailed information about the database specified by databaseName parameter. Returns NULL if the database does not exist or not accessible.

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

Syntax

'Declaration
Public Function GetDatabaseInfo ( _
    databaseName As String _
) As DatabaseInformation
public DatabaseInformation GetDatabaseInfo(
    string databaseName
)
public:
DatabaseInformation^ GetDatabaseInfo(
    String^ databaseName
)
member GetDatabaseInfo : 
        databaseName:string -> DatabaseInformation
public function GetDatabaseInfo(
    databaseName : String
) : DatabaseInformation

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.DatabaseInformation

.NET Framework Security

See Also

Reference

TeamFoundationDataTierComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace