Udostępnij za pośrednictwem


PolicyStore Members

The PolicyStore object represents a policy-based Management policy store that holds information about policies, conditions, object sets, and subscriptions.

The following tables list the members exposed by the PolicyStore type.

Public Constructors

  Name Description
PolicyStore Overloaded. Initializes a new instance of the PolicyStore class.

Top

Public Properties

(see also Protected Properties )

  Name Description
Bb964889.pubproperty(pl-pl,SQL.100).gif Conditions Represents a collection of Condition objects. Each Condition object represents a policy-based Management condition.
Bb964889.pubproperty(pl-pl,SQL.100).gif Enabled  
Bb964889.pubproperty(pl-pl,SQL.100).gifBb964889.static(pl-pl,SQL.100).gif Facets Represents a collection of FacetInfo objects. Each FacetInfo object represents a policy-based Management registered facet.
Bb964889.pubproperty(pl-pl,SQL.100).gif HistoryRetentionInDays  
Bb964889.pubproperty(pl-pl,SQL.100).gif IdentityKey  
Bb964889.pubproperty(pl-pl,SQL.100).gif LogOnSuccess  
Bb964889.pubproperty(pl-pl,SQL.100).gif Metadata  Returns metadata about the instance and its domain. (inherited from SfcInstance)
Bb964889.pubproperty(pl-pl,SQL.100).gif Name Gets the name of the policy store.
Bb964889.pubproperty(pl-pl,SQL.100).gif ObjectSets Represents a collection of ObjectSet objects. Each ObjectSet object represents a policy-based Management object set.
Bb964889.pubproperty(pl-pl,SQL.100).gif Parent  Gets or sets the instance parent via the keychain. (inherited from SfcInstance)
Bb964889.pubproperty(pl-pl,SQL.100).gif Policies Represents a collection of Policy objects. Each Policy object represents a policy-based Management policy.
Bb964889.pubproperty(pl-pl,SQL.100).gif PolicyCategories Represents a collection of PolicyCategory objects. Each PolicyCategory object represents a policy-based Management policy category.
Bb964889.pubproperty(pl-pl,SQL.100).gif PolicyCategorySubscriptions Represents a collection of PolicyCategorySubscription objects. Each PolicyCategorySubscription object represents a policy-based Management policy category subscription.
Bb964889.pubproperty(pl-pl,SQL.100).gif Properties  Returns a collection instance properties. (inherited from SfcInstance)
Bb964889.pubproperty(pl-pl,SQL.100).gif SqlStoreConnection  
Bb964889.pubproperty(pl-pl,SQL.100).gif Urn  Returns the uniform resource name of the SfcInstance object. (inherited from SfcInstance)

Top

Protected Properties

  Name Description
Bb964889.protproperty(pl-pl,SQL.100).gif AbstractIdentityKey  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protproperty(pl-pl,SQL.100).gif PropertyStorageProvider  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protproperty(pl-pl,SQL.100).gif State  Returns the state of the SfcInstance object. (inherited from SfcInstance)

Top

Public Methods

(see also Protected Methods )

  Name Description
Bb964889.pubmethod(pl-pl,SQL.100).gif Alter  
Bb964889.pubmethod(pl-pl,SQL.100).gif CreatePolicyFromFacet Overloaded.  
Bb964889.pubmethod(pl-pl,SQL.100).gif DeserializePolicy Deserializes a single policy and its associated condition from the specified XML reader into the policy store.
Bb964889.pubmethod(pl-pl,SQL.100).gif Discover Overridden.  
Bb964889.pubmethod(pl-pl,SQL.100).gif EnumApplicablePolicies  
Bb964889.pubmethod(pl-pl,SQL.100).gif EnumApplicablePolicyCategories  
Bb964889.pubmethod(pl-pl,SQL.100).gif EnumConditionsOnFacet Returns a list of conditions that are associated with the specified facet.
Bb964889.pubmethod(pl-pl,SQL.100).gif EnumPoliciesOnFacet Returns a list of policies associated with the specified facet.
Bb964889.pubmethod(pl-pl,SQL.100).gif EnumPolicyCategories Returns an enumerated list of policy category information.
Bb964889.pubmethod(pl-pl,SQL.100).gif EnumRootConditions Returns a list of root conditions for the specified type.
Bb964889.pubmethod(pl-pl,SQL.100).gifBb964889.static(pl-pl,SQL.100).gif EnumRootFacets Returns a list of root facets for the specified type.
Bb964889.pubmethod(pl-pl,SQL.100).gif EnumTargetSetConditions Returns a list of target set conditions for the specified type.
Bb964889.pubmethod(pl-pl,SQL.100).gif Equals  Overloaded. (inherited from Object )
Bb964889.pubmethod(pl-pl,SQL.100).gif EraseSystemHealthPhantomRecords  
Bb964889.pubmethod(pl-pl,SQL.100).gif GetAggregatedHealthState  
Bb964889.pubmethod(pl-pl,SQL.100).gif GetDomain  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.pubmethod(pl-pl,SQL.100).gif GetHashCode  (inherited from Object )
Bb964889.pubmethod(pl-pl,SQL.100).gif GetPropertySet  Returns the set of properties for the SfcInstance object. (inherited from SfcInstance)
Bb964889.pubmethod(pl-pl,SQL.100).gif GetType  (inherited from Object )
Bb964889.pubmethod(pl-pl,SQL.100).gif ImportPolicy Imports a single policy and its associated condition from the given XML reader into the policy store.
Bb964889.pubmethod(pl-pl,SQL.100).gif PurgeHealthState Overloaded.  
Bb964889.pubmethod(pl-pl,SQL.100).gifBb964889.static(pl-pl,SQL.100).gif ReferenceEquals  (inherited from Object )
Bb964889.pubmethod(pl-pl,SQL.100).gif Refresh  Refreshes the object's properties by reading them from the server. (inherited from SfcInstance)
Bb964889.pubmethod(pl-pl,SQL.100).gif RepairPolicyAutomation  
Bb964889.pubmethod(pl-pl,SQL.100).gif ScriptAlter  
Bb964889.pubmethod(pl-pl,SQL.100).gif Serialize  (inherited from SfcInstance )
Bb964889.pubmethod(pl-pl,SQL.100).gif StartSerializationUpgrade Starts a serialization upgrade.
Bb964889.pubmethod(pl-pl,SQL.100).gif SubscribeToPolicyCategory  
Bb964889.pubmethod(pl-pl,SQL.100).gif ToString Overridden. Returns the PolicyStore object as a string value.
Bb964889.pubmethod(pl-pl,SQL.100).gif UnsubscribeFromPolicyCategory  

Top

Protected Methods

  Name Description
Bb964889.protmethod(pl-pl,SQL.100).gif AlterImpl  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif CheckObjectCreated  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif CheckObjectState  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif CreateIdentityKey  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif CreateImpl  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif DropImpl  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif Finalize  (inherited from Object )
Bb964889.protmethod(pl-pl,SQL.100).gif GetChildCollection  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif GetTypeMetadataImpl  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif InitializeUIPropertyState  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif MarkForDropImpl  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif MarkRootAsConnected  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif MemberwiseClone  (inherited from Object )
Bb964889.protmethod(pl-pl,SQL.100).gif MoveImpl  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif OnPropertyMetadataChanges  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif OnPropertyValueChanges  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif PostAlter  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif PostCreate  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif PostDrop  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif PostMove  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif PostRename  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif RenameImpl  (inherited from SfcInstance )
Bb964889.protmethod(pl-pl,SQL.100).gif ResetKey  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif UpdateUIPropertyState  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)
Bb964889.protmethod(pl-pl,SQL.100).gif Validate  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance)

Top

Public Events

(see also Protected Events )

  Name Description
Bb964889.pubevent(pl-pl,SQL.100).gif PropertyChanged  CLS-compliant event for property changes. (inherited from SfcInstance)
Bb964889.pubevent(pl-pl,SQL.100).gif PropertyMetadataChanged  CLS-compliant event for property metadata changes. (inherited from SfcInstance)

Top

Protected Events

  Name Description
Bb964889.protevent(pl-pl,SQL.100).gif propertyChanged  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.This event is not CLS-compliant. (inherited from SfcInstance)
Bb964889.protevent(pl-pl,SQL.100).gif propertyMetadataChanged  Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.This event is not CLS-compliant. (inherited from SfcInstance)

Top

Explicit Interface Implementations

  Name Description
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.GetExecutionEngine  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.GetKey  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.GetLogicalVersion  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.GetType  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.GetTypeMetadata  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.UseSfcStateManagement  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection Overloaded.  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.SetConnection  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcValidate.Validate  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.DomainInstanceName  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.DomainName  
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.ConnectionContext  

Top