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
- 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.