DacStore.IncrementalUpgrade Method
Incrementally upgrades the current DAC instance with the new DAC type. The changes from the current DAC instance and the new DAC type are effectively converted to an equivalent Transact-SQL and executed to achieve the upgrade inplace.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public Sub IncrementalUpgrade ( _
databaseName As String, _
dacType As DacType, _
upgradeOptions As DacUpgradeOptions _
)
'Usage
Dim instance As DacStore
Dim databaseName As String
Dim dacType As DacType
Dim upgradeOptions As DacUpgradeOptions
instance.IncrementalUpgrade(databaseName, _
dacType, upgradeOptions)
public void IncrementalUpgrade(
string databaseName,
DacType dacType,
DacUpgradeOptions upgradeOptions
)
public:
void IncrementalUpgrade(
String^ databaseName,
DacType^ dacType,
DacUpgradeOptions^ upgradeOptions
)
member IncrementalUpgrade :
databaseName:string *
dacType:DacType *
upgradeOptions:DacUpgradeOptions -> unit
public function IncrementalUpgrade(
databaseName : String,
dacType : DacType,
upgradeOptions : DacUpgradeOptions
)
Parameters
- databaseName
Type: System.String
The current database name. Also maps to the current DAC name.
- dacType
Type: Microsoft.SqlServer.Management.Dac.DacType
The DAC type that contains the new definition.
- upgradeOptions
Type: Microsoft.SqlServer.Management.Dac.DacUpgradeOptions
Options used during the incremental upgrade.