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
- 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.
See Also
Reference
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Configuration Namespace