Свойство DacDeployOptions.CreateNewDatabase

Get or set boolean that specifies whether the existing database will be dropped and a new database created before proceeding with the actual deployment actions. Acquires single-user mode before dropping the existing database.

Пространство имен:  Microsoft.SqlServer.Dac
Сборка:  Microsoft.SqlServer.Dac (в Microsoft.SqlServer.Dac.dll)

Синтаксис

'Декларация
Public Property CreateNewDatabase As Boolean 
    Get 
    Set
'Применение
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.CreateNewDatabase

instance.CreateNewDatabase = value
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)

Значение свойства

Тип: System.Boolean
True to drop and re-create the database; otherwise, false. Default is false.

См. также

Справочник

DacDeployOptions Класс

Пространство имен Microsoft.SqlServer.Dac