PolicyExtender PolicyExtender PolicyExtender Class

Definition

Contains additional functionality for the Policy object.

public ref class PolicyExtender sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcObjectExtender<Microsoft::SqlServer::Management::Dmf::Policy ^>
public sealed class PolicyExtender : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<Microsoft.SqlServer.Management.Dmf.Policy>
Public NotInheritable Class PolicyExtender
Inherits SfcObjectExtender(Of Policy)
Inheritance

Constructors

PolicyExtender() PolicyExtender() PolicyExtender()

Initializes a new instance of the PolicyExtender class.

PolicyExtender(Policy) PolicyExtender(Policy) PolicyExtender(Policy)

Initializes a new instance of the PolicyExtender class with the specified policy object.

PolicyExtender(PolicyStore, String) PolicyExtender(PolicyStore, String) PolicyExtender(PolicyStore, String)

Initializes a new instance of the PolicyExtender class.

Properties

Categories Categories Categories

Gets a generic list of PolicyCategory objects.

Category Category Category

Gets or sets a PolicyCategory object.

ConditionInstance ConditionInstance ConditionInstance

Gets or sets a Condition object.

EnableRootRestriction EnableRootRestriction EnableRootRestriction

Gets a value that indicates or specifies whether the root restriction is enabled.

Filters Filters Filters

Gets the TargetSetCollection of filters.

OfflineMode OfflineMode OfflineMode

Gets a value that indicates whether connection is offline.

Parent Parent Parent

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
PolicyFilePath PolicyFilePath PolicyFilePath

Gets or sets the specified file path for the PolicyExtender.

RootName RootName RootName

Gets the name of the root level of the ObjectSet.

SupportedPolicyEvaluationMode SupportedPolicyEvaluationMode SupportedPolicyEvaluationMode

Gets the Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode object.

Methods

GetParentSfcPropertySet() GetParentSfcPropertySet() GetParentSfcPropertySet()

Retrieves an instance of the parent's property set. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
GetPropertySet() GetPropertySet() GetPropertySet()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
OnPropertyChanged(String) OnPropertyChanged(String) OnPropertyChanged(String)

Raises the OnPropertyChanged(String) event when it has any subscriber. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
OnPropertyMetadataChanged(String) OnPropertyMetadataChanged(String) OnPropertyMetadataChanged(String)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
parent_PropertyChanged(Object, PropertyChangedEventArgs) parent_PropertyChanged(Object, PropertyChangedEventArgs) parent_PropertyChanged(Object, PropertyChangedEventArgs)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
parent_PropertyMetadataChanged(Object, SfcPropertyMetadataChangedEventArgs) parent_PropertyMetadataChanged(Object, SfcPropertyMetadataChangedEventArgs) parent_PropertyMetadataChanged(Object, SfcPropertyMetadataChangedEventArgs)

Indicates the parent object in the PropertyMetadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
RegisterParentProperty(PropertyInfo) RegisterParentProperty(PropertyInfo) RegisterParentProperty(PropertyInfo)

Registers the property of the parent that has not been included in properties collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
RegisterProperty(PropertyInfo) RegisterProperty(PropertyInfo) RegisterProperty(PropertyInfo)

Registers an additional reflected property. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
RegisterProperty(PropertyInfo, String) RegisterProperty(PropertyInfo, String) RegisterProperty(PropertyInfo, String)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)

Events

PropertyChanged PropertyChanged PropertyChanged

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)
PropertyMetadataChanged PropertyMetadataChanged PropertyMetadataChanged

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcObjectExtender<TSfcInstance>)

Applies to