共用方式為


GetIncrementalUpgradeScript 方法

傳回使用新 DAC 類型升級目前資料庫所需的累加指令碼。資料庫與新 DAC 類型的變更會有效轉換成對等的 Transact-SQL。

命名空間:  Microsoft.SqlServer.Management.Dac
組件:  Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)

語法

'宣告
Public Function GetIncrementalUpgradeScript ( _
    databaseName As String, _
    dacType As DacType _
) As String
'用途
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

參數

傳回值

型別:System. . :: . .String
傳回 String