Partilhar via


ConditionExtender Class

Definition

Decorator for the Condition object. Used add additional properties to the base Condition object

public sealed class ConditionExtender : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<Microsoft.SqlServer.Management.Dmf.Condition>
type ConditionExtender = class
    inherit SfcObjectExtender<Condition>
Public NotInheritable Class ConditionExtender
Inherits SfcObjectExtender(Of Condition)
Inheritance
ConditionExtender

Constructors

ConditionExtender()

default ctor

ConditionExtender(Condition)

ctor. Takes parent Condition object to aggregate on

ConditionExtender(PolicyStore, String)

ctor. Create a new Condition object and aggregates on it.

Properties

DependentPolicies

provides a list of dependant policies

ExpressionNode

Translates parent's string 'Expression' property into Expression node property

FacetInfo

Translates parent's 'Facet' string property into FacedInfo object property

Facets

Provides a list of available facets

Parent

Parent object

(Inherited from SfcObjectExtender<TSfcInstance>)
RootFacets

Expose collection of facets that are attributed as root facets

Methods

GetParentSfcPropertySet()

Returns an instance of the parent's property set

(Inherited from SfcObjectExtender<TSfcInstance>)
GetPropertySet()

returns collection of the properties

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

Fires PropertyChanged event, when it has any subscriber

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

Fires PropertyMetadataChanged event, when it has any subscriber

(Inherited from SfcObjectExtender<TSfcInstance>)
parent_PropertyChanged(Object, PropertyChangedEventArgs) (Inherited from SfcObjectExtender<TSfcInstance>)
parent_PropertyMetadataChanged(Object, SfcPropertyMetadataChangedEventArgs) (Inherited from SfcObjectExtender<TSfcInstance>)
RegisterParentProperty(PropertyInfo)

Register property of the parent, that has not been included in properties collection (like 'Name' in SMO or collections

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

Register an additional reflected property, dependant on the property from the parent object

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

Register an additional reflected property

(Inherited from SfcObjectExtender<TSfcInstance>)

Events

PropertyChanged (Inherited from SfcObjectExtender<TSfcInstance>)
PropertyMetadataChanged (Inherited from SfcObjectExtender<TSfcInstance>)

Applies to