SqlDeploymentOptions.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.Deployment
어셈블리: Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)
구문
‘선언
Public ReadOnly Property CreateNewDatabase As Boolean
Get
‘사용 방법
Dim instance As SqlDeploymentOptions
Dim value As Boolean
value = instance.CreateNewDatabase
public bool CreateNewDatabase { get; }
public:
property bool CreateNewDatabase {
bool get ();
}
member CreateNewDatabase : bool
function get CreateNewDatabase () : boolean
속성 값
유형: System.Boolean
True to drop and re-create the database; otherwise, false. Default is false.