DacUpgradeOptions.RollbackOnFailure Property
Gets or sets a value that indicates whether the upgrade is enclosed in transactions, and will attempt a rollback if errors are encountered.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public Property RollbackOnFailure As Boolean
Get
Set
'Usage
Dim instance As DacUpgradeOptions
Dim value As Boolean
value = instance.RollbackOnFailure
instance.RollbackOnFailure = value
public bool RollbackOnFailure { get; set; }
public:
property bool RollbackOnFailure {
bool get ();
void set (bool value);
}
member RollbackOnFailure : bool with get, set
function get RollbackOnFailure () : boolean
function set RollbackOnFailure (value : boolean)
Property Value
Type: System.Boolean
true if the upgrade is enclosed in transactions and will attempt a rollback if errors are encountered; otherwise, false. The default setting is false.