语言

UpgradeSession.UpgradeInstance 方法

定义

重载

名称 说明
UpgradeInstance(Type, List<SfcInstanceSerializedData>)

这是域从序列化实例数据获取实例的帮助程序函数

UpgradeInstance(List<SfcInstanceSerializedData>, Int32, String, Dictionary<String,Object>)

此函数将序列化信息传输到域并查找升级的对象实例

输出必须是 sml uri 和相应实例的对列表。 升级可能会导致多个实例,因此我们需要一个列表。 如果删除实例,可以返回 null。

UpgradeInstance(Type, List<SfcInstanceSerializedData>)

这是域从序列化实例数据获取实例的帮助程序函数

public object UpgradeInstance(Type newInstanceType, System.Collections.Generic.List<Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstanceSerializedData> sfcInstanceData);
member this.UpgradeInstance : Type * System.Collections.Generic.List<Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstanceSerializedData> -> obj
Public Function UpgradeInstance (newInstanceType As Type, sfcInstanceData As List(Of SfcInstanceSerializedData)) As Object

参数

newInstanceType
Type
sfcInstanceData
List<SfcInstanceSerializedData>

返回

适用于

UpgradeInstance(List<SfcInstanceSerializedData>, Int32, String, Dictionary<String,Object>)

此函数将序列化信息传输到域并查找升级的对象实例

输出必须是 sml uri 和相应实例的对列表。 升级可能会导致多个实例,因此我们需要一个列表。 如果删除实例,可以返回 null。

public virtual System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string,object>> UpgradeInstance(System.Collections.Generic.List<Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstanceSerializedData> sfcInstanceData, int fileVersion, string smlUri, System.Collections.Generic.Dictionary<string,object> sfcCache);
abstract member UpgradeInstance : System.Collections.Generic.List<Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstanceSerializedData> * int * string * System.Collections.Generic.Dictionary<string, obj> -> System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, obj>>
override this.UpgradeInstance : System.Collections.Generic.List<Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstanceSerializedData> * int * string * System.Collections.Generic.Dictionary<string, obj> -> System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, obj>>
Public Overridable Function UpgradeInstance (sfcInstanceData As List(Of SfcInstanceSerializedData), fileVersion As Integer, smlUri As String, sfcCache As Dictionary(Of String, Object)) As List(Of KeyValuePair(Of String, Object))

参数

sfcInstanceData
List<SfcInstanceSerializedData>
fileVersion
Int32
smlUri
String

返回

适用于