Condividi tramite


Metodo UpgradeInstance (Type, List(SfcInstanceSerializedData))

Uses a generic list of objects to upgrade the specified instance. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Function UpgradeInstance ( _
    newInstanceType As Type, _
    sfcInstanceData As List(Of SfcInstanceSerializedData) _
) As Object
'Utilizzo
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

Parametri

Valore restituito

Tipo: System. . :: . .Object
A generic list of objects to upgrade the specified instance.