Compartilhar via


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

Uses a generic list of objects to upgrade the specified instance. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Function UpgradeInstance ( _
    newInstanceType As Type, _
    sfcInstanceData As List(Of SfcInstanceSerializedData) _
) As Object
'Uso
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

Parâmetros

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

Valor de retorno

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

Consulte também

Referência

UpgradeSession Classe

Sobrecarregado UpgradeInstance

Namespace Microsoft.SqlServer.Management.Sdk.Sfc