다음을 통해 공유


DacDeployOptions.BackupDatabaseBeforeChanges 속성

Get or set boolean that specifies whether a database backup will be performed before proceeding with the actual deployment actions.

네임스페이스:  Microsoft.SqlServer.Dac
어셈블리:  Microsoft.SqlServer.Dac(Microsoft.SqlServer.Dac.dll)

구문

‘선언
Public Property BackupDatabaseBeforeChanges As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.BackupDatabaseBeforeChanges

instance.BackupDatabaseBeforeChanges = value
public bool BackupDatabaseBeforeChanges { get; set; }
public:
property bool BackupDatabaseBeforeChanges {
    bool get ();
    void set (bool value);
}
member BackupDatabaseBeforeChanges : bool with get, set
function get BackupDatabaseBeforeChanges () : boolean 
function set BackupDatabaseBeforeChanges (value : boolean)

속성 값

유형: System.Boolean
True to perform a database backup prior to deployment; otherwise, false. Default is false.

참고 항목

참조

DacDeployOptions 클래스

Microsoft.SqlServer.Dac 네임스페이스