PolicyExtender 类

Contains additional functionality for the Policy object.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectExtender< (Of < ( <'Policy> ) > ) >
    Microsoft.SqlServer.Management.Dmf..::..PolicyExtender

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class PolicyExtender _
    Inherits SfcObjectExtender(Of Policy)
用法
Dim instance As PolicyExtender
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class PolicyExtender : SfcObjectExtender<Policy>
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class PolicyExtender sealed : public SfcObjectExtender<Policy^>
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type PolicyExtender =  
    class
        inherit SfcObjectExtender<Policy>
    end
public final class PolicyExtender extends SfcObjectExtender<Policy>

PolicyExtender 类型公开以下成员。

构造函数

  名称 说明
公共方法 PolicyExtender() () () () Initializes a new instance of the PolicyExtender class.
公共方法 PolicyExtender(Policy) Initializes a new instance of the PolicyExtender class.
公共方法 PolicyExtender(PolicyStore, String) Initializes a new instance of the PolicyExtender class.

页首

属性

  名称 说明
公共属性 Categories Gets a generic list of PolicyCategory objects.
公共属性 Category Gets or sets a PolicyCategory object.
公共属性 ConditionInstance Gets or sets a Condition object.
公共属性 EnableRootRestriction Gets a Boolean value that indicates whether root restriction is enabled.
公共属性 Filters Gets the TargetSetCollection.
公共属性 OfflineMode Gets a Boolean value that indicates whether connection is offline.
受保护属性 Parent 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
公共属性 PolicyFilePath Gets or sets the path to the policy file.
公共属性 RootName Gets the name of the root level of the ObjectSet.
公共属性 SupportedPolicyEvaluationMode Gets the AutomatedPolicyEvaluationMode object.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
受保护方法 GetParentSfcPropertySet Retrieves an instance of the parent's property set. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
公共方法 GetPropertySet 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 OnPropertyMetadataChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 parent_PropertyChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 RegisterParentProperty Registers the property of the parent that has not been included in properties collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 RegisterProperty(PropertyInfo) Registers an additional reflected property. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 RegisterProperty(PropertyInfo, String) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
公共方法 ToString (从 Object 继承。)

页首

事件

  名称 说明
公共事件 PropertyChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
公共事件 PropertyMetadataChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。