PolicyStoreUpgradeSession 类
Represents a policy store upgrade session.
继承层次结构
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.UpgradeSession
Microsoft.SqlServer.Management.Dmf.PolicyStoreUpgradeSession
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class PolicyStoreUpgradeSession _
Inherits UpgradeSession
用法
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
PolicyStoreUpgradeSession 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
PolicyStoreUpgradeSession | Initializes a new instance of the PolicyStoreUpgradeSession class. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
IsUpgradeRequiredOnType | Determines whether an upgrade is required for the specified type and the specified file. (覆盖 UpgradeSession.IsUpgradeRequiredOnType(String, Int32)。) | |
PostProcessUpgrade | Runs a process to update the cache after a policy store upgrade. (覆盖 UpgradeSession.PostProcessUpgrade(Dictionary<String, Object>, Int32)。) | |
ToString | (从 Object 继承。) | |
UpgradeInstance(Type, List<SfcInstanceSerializedData>) | Uses a generic list of objects to upgrade the specified instance. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 UpgradeSession 继承。) | |
UpgradeInstance(List<SfcInstanceSerializedData>, Int32, String, Dictionary<String, Object>) | Upgrades an instance of the policy store. (覆盖 UpgradeSession.UpgradeInstance(List<SfcInstanceSerializedData>, Int32, String, Dictionary<String, Object>)。) |
页首
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。