UpgradeInstance-Methode (Type, List(SfcInstanceSerializedData))
Uses a generic list of objects to upgrade the specified instance. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Function UpgradeInstance ( _
newInstanceType As Type, _
sfcInstanceData As List(Of SfcInstanceSerializedData) _
) As Object
'Usage
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
Parameter
- newInstanceType
Typ: System. . :: . .Type
The new instance type on the list.
- sfcInstanceData
Typ: System.Collections.Generic. . :: . .List< (Of < ( <'SfcInstanceSerializedData> ) > ) >
The instance data in the system file checker.
Rückgabewert
Typ: System. . :: . .Object
A generic list of objects to upgrade the specified instance.