UpgradeSession.UpgradeInstance 메서드 (Type, List<SfcInstanceSerializedData>)
Uses a generic list of objects to upgrade the specified instance. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Function UpgradeInstance ( _
newInstanceType As Type, _
sfcInstanceData As List(Of SfcInstanceSerializedData) _
) As Object
‘사용 방법
Dim instance As UpgradeSession
Dim newInstanceType As Type
Dim sfcInstanceData As List(Of SfcInstanceSerializedData)
Dim returnValue As Object
returnValue = instance.UpgradeInstance(newInstanceType, _
sfcInstanceData)
public Object UpgradeInstance(
Type newInstanceType,
List<SfcInstanceSerializedData> sfcInstanceData
)
public:
Object^ UpgradeInstance(
Type^ newInstanceType,
List<SfcInstanceSerializedData>^ sfcInstanceData
)
member UpgradeInstance :
newInstanceType:Type *
sfcInstanceData:List<SfcInstanceSerializedData> -> Object
public function UpgradeInstance(
newInstanceType : Type,
sfcInstanceData : List<SfcInstanceSerializedData>
) : Object
매개 변수
- newInstanceType
유형: System.Type
The new instance type on the list.
- sfcInstanceData
유형: System.Collections.Generic.List<SfcInstanceSerializedData>
The instance data in the system file checker.
반환 값
유형: System.Object
A generic list of objects to upgrade the specified instance.