UpgradeSession.UpgradeInstance 方法 (List<SfcInstanceSerializedData>, Int32, String, Dictionary<String, Object>)

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
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))
用法
Dim instance As UpgradeSession 
Dim sfcInstanceData As List(Of SfcInstanceSerializedData)
Dim fileVersion As Integer 
Dim smlUri As String 
Dim sfcCache As Dictionary(Of String, Object)
Dim returnValue As List(Of KeyValuePair(Of String, Object))

returnValue = instance.UpgradeInstance(sfcInstanceData, _
    fileVersion, smlUri, sfcCache)
public virtual List<KeyValuePair<string, Object>> UpgradeInstance(
    List<SfcInstanceSerializedData> sfcInstanceData,
    int fileVersion,
    string smlUri,
    Dictionary<string, Object> sfcCache
)
public:
virtual List<KeyValuePair<String^, Object^>>^ UpgradeInstance(
    List<SfcInstanceSerializedData>^ sfcInstanceData, 
    int fileVersion, 
    String^ smlUri, 
    Dictionary<String^, Object^>^ sfcCache
)
abstract UpgradeInstance : 
        sfcInstanceData:List<SfcInstanceSerializedData> * 
        fileVersion:int * 
        smlUri:string * 
        sfcCache:Dictionary<string, Object> -> List<KeyValuePair<string, Object>> 
override UpgradeInstance : 
        sfcInstanceData:List<SfcInstanceSerializedData> * 
        fileVersion:int * 
        smlUri:string * 
        sfcCache:Dictionary<string, Object> -> List<KeyValuePair<string, Object>> 
public function UpgradeInstance(
    sfcInstanceData : List<SfcInstanceSerializedData>, 
    fileVersion : int, 
    smlUri : String, 
    sfcCache : Dictionary<String, Object>
) : List<KeyValuePair<String, Object>>

参数

  • fileVersion
    类型:System.Int32
    The file version of the specified list.
  • smlUri
    类型:System.String
    Represents the sml uniform resource identifier.

返回值

类型:System.Collections.Generic.List<KeyValuePair<String, Object>>
The list of serialized information to the domain.

请参阅

参考

UpgradeSession 类

UpgradeInstance 重载

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间