Compartir a través de


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

Uses a generic list of objects to upgrade the specified instance. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
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 devuelto

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

Vea también

Referencia

UpgradeSession Clase

Sobrecarga de UpgradeInstance

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc