SchemaDeploymentOptions.CreateNewDatabase Property
Gets or sets a value that indicates whether to create a new target database during deployment.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Property CreateNewDatabase As Boolean
public bool CreateNewDatabase { get; set; }
public:
property bool CreateNewDatabase {
bool get ();
void set (bool value);
}
member CreateNewDatabase : bool with get, set
function get CreateNewDatabase () : boolean
function set CreateNewDatabase (value : boolean)
Property Value
Type: System.Boolean
true to create a new database; otherwise, false.
.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.