Partager via


Méthode UpgradeSession.UpgradeInstance (Type, List<SfcInstanceSerializedData>)

Uses a generic list of objects to upgrade the specified instance. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

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

Paramètres

  • newInstanceType
    Type : System.Type
    The new instance type on the list.

Valeur de retour

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

Voir aussi

Référence

UpgradeSession Classe

Surcharge UpgradeInstance

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc