次の方法で共有


UpgradeSession.UpgradeInstance Method

Definition

Overloads

UpgradeInstance(Type, List<SfcInstanceSerializedData>)

This is a helper function for the domain to get instance from serialized instance data

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

This function transfers the serialized information to the domain and seeks the upgraded object instance

The output needs to be a list of pairs, of sml uri and corresponding instance. An upgrade can result in multiple instances and hence we expect a list. If the instance is deleted, a null can be returned.

UpgradeInstance(Type, List<SfcInstanceSerializedData>)

This is a helper function for the domain to get instance from serialized instance data

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

Parameters

newInstanceType
Type
sfcInstanceData
List<SfcInstanceSerializedData>

Returns

Applies to

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

This function transfers the serialized information to the domain and seeks the upgraded object instance

The output needs to be a list of pairs, of sml uri and corresponding instance. An upgrade can result in multiple instances and hence we expect a list. If the instance is deleted, a null can be returned.

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))

Parameters

sfcInstanceData
List<SfcInstanceSerializedData>
fileVersion
Int32
smlUri
String

Returns

Applies to