Share via


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

See Also

Reference

SchemaDeploymentOptions Class

Microsoft.Data.Schema.Build Namespace