Share via


DacStore.GetIncrementalUpgradeScript Method

Returns the incremental script required to upgrade the current database with the new DAC type. The changes from the database and the new DAC type are effectively converted to an equivalent Transact-SQL.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Function GetIncrementalUpgradeScript ( _
    databaseName As String, _
    dacType As DacType _
) As String
'Usage
Dim instance As DacStore
Dim databaseName As String
Dim dacType As DacType
Dim returnValue As String

returnValue = instance.GetIncrementalUpgradeScript(databaseName, _
    dacType)
public string GetIncrementalUpgradeScript(
    string databaseName,
    DacType dacType
)
public:
String^ GetIncrementalUpgradeScript(
    String^ databaseName, 
    DacType^ dacType
)
member GetIncrementalUpgradeScript : 
        databaseName:string * 
        dacType:DacType -> string 
public function GetIncrementalUpgradeScript(
    databaseName : String, 
    dacType : DacType
) : String

Parameters

Return Value

Type: System.String
Returns String.