다음을 통해 공유


Upgrade 메서드

참고: 이 API는 더 이상 사용되지 않습니다.

DAC 인스턴스의 DAC 형식을 DAC 패키지에서 추출된 지정한 DAC 형식의 버전으로 업그레이드합니다.

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

구문

‘선언
<ObsoleteAttribute("Please use the method named IncrementalUpgrade on this same class.")> _
Public Function Upgrade ( _
    currentInstanceName As String, _
    dacTypeToBeDeployed As DacType, _
    upgradeOptions As DacUpgradeOptions _
) As DacUpgradeResult
‘사용 방법
Dim instance As DacStore
Dim currentInstanceName As String
Dim dacTypeToBeDeployed As DacType
Dim upgradeOptions As DacUpgradeOptions
Dim returnValue As DacUpgradeResult

returnValue = instance.Upgrade(currentInstanceName, _
    dacTypeToBeDeployed, upgradeOptions)
[ObsoleteAttribute("Please use the method named IncrementalUpgrade on this same class.")]
public DacUpgradeResult Upgrade(
    string currentInstanceName,
    DacType dacTypeToBeDeployed,
    DacUpgradeOptions upgradeOptions
)
[ObsoleteAttribute(L"Please use the method named IncrementalUpgrade on this same class.")]
public:
DacUpgradeResult^ Upgrade(
    String^ currentInstanceName, 
    DacType^ dacTypeToBeDeployed, 
    DacUpgradeOptions^ upgradeOptions
)
[<ObsoleteAttribute("Please use the method named IncrementalUpgrade on this same class.")>]
member Upgrade : 
        currentInstanceName:string * 
        dacTypeToBeDeployed:DacType * 
        upgradeOptions:DacUpgradeOptions -> DacUpgradeResult 
public function Upgrade(
    currentInstanceName : String, 
    dacTypeToBeDeployed : DacType, 
    upgradeOptions : DacUpgradeOptions
) : DacUpgradeResult

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Dac. . :: . .DacUpgradeResult
업그레이드 결과를 나타내는 DacUpgradeResult 개체입니다.