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
- databaseName
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.DatabaseInformation
.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.