Share via


DataGenerationElement.ClearDatabase Property

If TRUE, clears the database before applying a data generation plan.

Namespace:  Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Configuration
Assembly:  Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.dll)

Syntax

'Declaration
Public Property ClearDatabase As Boolean
'Usage
Dim instance As DataGenerationElement
Dim value As Boolean

value = instance.ClearDatabase

instance.ClearDatabase = value
public bool ClearDatabase { get; set; }
public:
property bool ClearDatabase {
    bool get ();
    void set (bool value);
}
public function get ClearDatabase () : boolean
public function set ClearDatabase (value : boolean)

Property Value

Type: System.Boolean
The default value is TRUE.

Permissions

See Also

Reference

DataGenerationElement Class

DataGenerationElement Members

Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Configuration Namespace