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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。