Partager via


TeamFoundationDataTierComponent.CheckIfDatabaseIsEmpty Method

Checks if the specified database contains any tables.

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

Syntax

'Declaration
Public Function CheckIfDatabaseIsEmpty As Boolean
public bool CheckIfDatabaseIsEmpty()
public:
bool CheckIfDatabaseIsEmpty()
member CheckIfDatabaseIsEmpty : unit -> bool
public function CheckIfDatabaseIsEmpty() : boolean

Return Value

Type: System.Boolean
True if database does not have any tables, false otherwise.

.NET Framework Security

See Also

Reference

TeamFoundationDataTierComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace