Compartilhar via


Classe PolicyStoreUpgradeSession

Represents a policy store upgrade session.

Hierarquia de herança

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

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

Sintaxe

'Declaração
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class PolicyStoreUpgradeSession _
    Inherits UpgradeSession
'Uso
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

O tipo PolicyStoreUpgradeSession expõe os membros a seguir.

Construtores

  Nome Descrição
Método público PolicyStoreUpgradeSession Initializes a new instance of the PolicyStoreUpgradeSession class.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método público IsUpgradeRequiredOnType Determines whether an upgrade is required for the specified type and the specified file. (Substitui UpgradeSession. . :: . .IsUpgradeRequiredOnType(String, Int32).)
Método protegido MemberwiseClone (Herdado de Object.)
Método público PostProcessUpgrade Runs a process to update the cache after a policy store upgrade. (Substitui UpgradeSession. . :: . .PostProcessUpgrade(Dictionary< (Of < <' (String, Object> ) > > ), Int32).)
Método público ToString (Herdado de Object.)
Método público UpgradeInstance(Type, List< (Of < <' (SfcInstanceSerializedData> ) > > )) Uses a generic list of objects to upgrade the specified instance. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de UpgradeSession.)
Método público UpgradeInstance(List< (Of < <' (SfcInstanceSerializedData> ) > > ), Int32, String, Dictionary< (Of < <' (String, Object> ) > > )) Upgrades an instance of the policy store. (Substitui UpgradeSession. . :: . .UpgradeInstance(List< (Of < <' (SfcInstanceSerializedData> ) > > ), Int32, String, Dictionary< (Of < <' (String, Object> ) > > )).)

Início

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência