Метод UpgradeSession.UpgradeInstance (Type, List<SfcInstanceSerializedData>)

Uses a generic list of objects to upgrade the specified instance. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Function UpgradeInstance ( _
    newInstanceType As Type, _
    sfcInstanceData As List(Of SfcInstanceSerializedData) _
) As Object
'Применение
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

Параметры

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

Возвращаемое значение

Тип: System.Object
A generic list of objects to upgrade the specified instance.

См. также

Справочник

UpgradeSession Класс

Перегрузка UpgradeInstance

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc