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
매개 변수
- currentInstanceName
유형: System. . :: . .String
업그레이드할 DAC 인스턴스 이름을 지정하는 String 값입니다.
- dacTypeToBeDeployed
유형: Microsoft.SqlServer.Management.Dac. . :: . .DacType
업그레이드에 사용되는 DAC 패키지에서 추출되는 DAC 유형을 참조하는 DacType 개체입니다.
- upgradeOptions
유형: Microsoft.SqlServer.Management.Dac. . :: . .DacUpgradeOptions
업그레이드 옵션을 지정하는 DacUpgradeOptions 개체입니다.
반환 값
유형: Microsoft.SqlServer.Management.Dac. . :: . .DacUpgradeResult
업그레이드 결과를 나타내는 DacUpgradeResult 개체입니다.