Share via


PolicyStoreUpgradeSession Class

Represents a policy store upgrade session.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.UpgradeSession
    Microsoft.SqlServer.Management.Dmf.PolicyStoreUpgradeSession

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class PolicyStoreUpgradeSession _
    Inherits UpgradeSession
'Usage
Dim instance As PolicyStoreUpgradeSession
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class PolicyStoreUpgradeSession : UpgradeSession
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class PolicyStoreUpgradeSession sealed : public UpgradeSession
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type PolicyStoreUpgradeSession =  
    class
        inherit UpgradeSession
    end
public final class PolicyStoreUpgradeSession extends UpgradeSession

The PolicyStoreUpgradeSession type exposes the following members.

Constructors

  Name Description
Public method PolicyStoreUpgradeSession Initializes a new instance of the PolicyStoreUpgradeSession class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsUpgradeRequiredOnType Determines whether an upgrade is required for the specified type and the specified file. (Overrides UpgradeSession.IsUpgradeRequiredOnType(String, Int32).)
Protected method MemberwiseClone (Inherited from Object.)
Public method PostProcessUpgrade Runs a process to update the cache after a policy store upgrade. (Overrides UpgradeSession.PostProcessUpgrade(Dictionary<String, Object>, Int32).)
Public method ToString (Inherited from Object.)
Public method UpgradeInstance(Type, List<SfcInstanceSerializedData>) Uses a generic list of objects to upgrade the specified instance. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from UpgradeSession.)
Public method UpgradeInstance(List<SfcInstanceSerializedData>, Int32, String, Dictionary<String, Object>) Upgrades an instance of the policy store. (Overrides UpgradeSession.UpgradeInstance(List<SfcInstanceSerializedData>, Int32, String, Dictionary<String, Object>).)

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.