次の方法で共有


UpgradeSession.UpgradeInstance メソッド (Type, List<SfcInstanceSerializedData>)

オブジェクトの汎用一覧を使用して、指定したインスタンスをアップグレードします。 このメンバーをコード内で直接参照しないでください。このメンバーは、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
    一覧の新しいインスタンス型です。

戻り値

型: System.Object
指定したインスタンスをアップグレードするオブジェクトの汎用一覧です。

関連項目

参照

UpgradeSession クラス

UpgradeInstance オーバーロード

Microsoft.SqlServer.Management.Sdk.Sfc 名前空間