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

Definition

Upgrades an instance of the PolicyStoreUpgradeSession.

Upgrades an instance of the policy store.

public:
 override System::Collections::Generic::List<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ UpgradeInstance(System::Collections::Generic::List<Microsoft::SqlServer::Management::Sdk::Sfc::SfcInstanceSerializedData> ^ sfcInstanceData, int fileVersion, System::String ^ smlUri, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ sfcCache);
public override 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);
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))
Parameters
sfcInstanceData
List<SfcInstanceSerializedData>

A List<T> object of SfcInstanceSerializedData values that represents the serialized instance data.

fileVersion
Int32 Int32 Int32

An Int32 value that specifies the file version of the policy store.

smlUri
String String String

A String value that specifies the Uri data.

sfcCache
Dictionary<String,Object>

A Dictionary<TKey,TValue> object of String and Object values that specifies the objects held in cache during upgrade.

Returns

A List<T> which contains the new policy or condition.

Applies to