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.
- sfcInstanceData
类型:System.Collections.Generic.List<SfcInstanceSerializedData>
The instance data in the system file checker.
返回值
类型:System.Object
A generic list of objects to upgrade the specified instance.