Метод UpgradeInstance (List(SfcInstanceSerializedData), Int32, String, Dictionary(String, Object))
Upgrades an instance of the policy store.
Пространство имен: 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>>
Параметры
- sfcInstanceData
Тип: System.Collections.Generic. . :: . .List< (Of < ( <'SfcInstanceSerializedData> ) > ) >
A List object of SfcInstanceSerializedData values that represents the serialized instance data.
- fileVersion
Тип: System. . :: . .Int32
An Int32 value that specifies the file version of the policy store.
- smlUri
Тип: System. . :: . .String
A String value that specifies the Uri data.
- sfcCache
Тип: System.Collections.Generic. . :: . .Dictionary< (Of < ( <'String, Object> ) > ) >
A Dictionary object of String and Object values that specifies the objects held in cache during upgrade.
Возвращаемое значение
Тип: System.Collections.Generic. . :: . .List< (Of < ( <'KeyValuePair< (Of < ( <'String, Object> ) > ) >> ) > ) >
A List<(Of <(<'T>)>)> which contains the new policy or condition.