PolicyStoreUpgradeSession.UpgradeInstance メソッド (List<SfcInstanceSerializedData>, Int32, String, Dictionary<String, Object>)

ポリシー ストアのインスタンスをアップグレードします。

名前空間:  Microsoft.SqlServer.Management.Dmf
アセンブリ:  Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)

構文

'宣言
Public Overrides 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 PolicyStoreUpgradeSession 
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 override 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
) override
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 override function UpgradeInstance(
    sfcInstanceData : List<SfcInstanceSerializedData>, 
    fileVersion : int, 
    smlUri : String, 
    sfcCache : Dictionary<String, Object>
) : List<KeyValuePair<String, Object>>

パラメーター

  • fileVersion
    型: System.Int32
    ポリシー ストアのファイル バージョンを示す Int32 値です。

戻り値

型: System.Collections.Generic.List<KeyValuePair<String, Object>>
新しいポリシーまたは条件を含む List<T> です。

関連項目

参照

PolicyStoreUpgradeSession クラス

UpgradeInstance オーバーロード

Microsoft.SqlServer.Management.Dmf 名前空間