Policy Members
Include Protected Members
Include Inherited Members
The Policy object represents a Policy-Based Management policy.
The Policy type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Policy() | Initializes a new instance of the Policy class. |
![]() |
Policy(PolicyStore, String) | Initializes a new instance of the Policy class. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Alter() | Updates any Policy object property changes on the instance of SQL Server. |
![]() |
AlterImpl() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
CheckObjectCreated() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
CheckObjectState() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
Create() | |
![]() |
CreateIdentityKey() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
CreateImpl() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
Discover(ISfcDependencyDiscoveryObjectSink) | (Overrides SfcInstanceDiscover(ISfcDependencyDiscoveryObjectSink).) |
![]() |
Drop() | Removes the policy from the instance of SQL Server. |
![]() |
DropImpl() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Evaluate(AdHocPolicyEvaluationMode, array<ISfcConnection[]) | |
![]() |
Evaluate(AdHocPolicyEvaluationMode, array<Object[]) | Immediately executes the policy against the specified target objects by using the specified evaluation mode. |
![]() |
Evaluate(AdHocPolicyEvaluationMode, SfcQueryExpression, array<ISfcConnection[]) | |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetChildCollection(String) | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
GetDomain() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() ![]() |
GetObjectFactory() | Gets the object factory for the object. |
![]() |
GetPropertySet() | Returns the set of properties for the SfcInstance object. (Inherited from SfcInstance.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
GetTypeMetadataImpl() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
InitializeUIPropertyState() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
MarkForDropImpl(Boolean) | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
MarkRootAsConnected() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
MoveImpl(SfcInstance) | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs) | Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.) |
![]() |
OnPropertyValueChanges(PropertyChangedEventArgs) | Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.) |
![]() |
PostAlter(Object) | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
PostCreate(Object) | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
PostDrop(Object) | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
PostMove(Object) | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
PostRename(Object) | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
ProduceConfigureScript(Object) | |
![]() |
Refresh() | Refreshes the object's properties by reading them from the server. (Inherited from SfcInstance.) |
![]() |
Rename(String) | Renames the policy. |
![]() |
RenameImpl(SfcKey) | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
ResetKey() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
ScriptAlter() | Alters the script that is used to create the condition. |
![]() |
ScriptAlterWithObjectSet() | |
![]() |
ScriptCreate() | Creates a script that is used to create the condition. |
![]() |
ScriptCreateWithDependencies() | |
![]() |
ScriptCreateWithObjectSet() | |
![]() |
ScriptDrop() | Drops the script that is used to create the condition. |
![]() |
ScriptDropWithObjectSet() | |
![]() |
Serialize(XmlWriter) | Serializes the instance to XML. (Inherited from SfcInstance.) |
![]() |
ToString() | Returns a string representation of the instance Urn. (Inherited from SfcInstance.) |
![]() |
UpdateUIPropertyState() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
UsesFacet(String) | |
![]() |
Validate() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
Validate(String) |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AbstractIdentityKey() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
AutomatedPolicyEvaluationMode | |
![]() |
CategoryId | Gets the ID value that uniquely identifies the category that is associated with the policy. |
![]() |
Condition | |
![]() |
CreateDate | Gets the date and time when the policy was created. |
![]() |
CreatedBy | Gets the policy store authentication credentials of the user who created the policy. |
![]() |
DateModified | Gets the date and time when the policy was last modified. |
![]() |
Description | Gets or sets the textual description of the policy. |
![]() |
Enabled | Gets or set the Boolean value that specifies whether the policy is enabled. |
![]() |
EvaluationHistories | |
![]() |
HasScript | Gets the Boolean value that specifies whether the policy has a script. |
![]() |
HelpLink | Gets or sets a URN to additional help information for the policy. |
![]() |
HelpText | Gets or sets the display name for the help text. |
![]() |
ID | Gets the ID value that uniquely identifies the policy. |
![]() |
IdentityKey | Gets the key that identifies the policy. |
![]() |
Metadata() | Returns metadata about the instance and its domain. (Inherited from SfcInstance.) |
![]() |
ModifiedBy | Gets the policy store authentication credentials of the user who last modified the policy. |
![]() |
Name | |
![]() |
ObjectSet | Gets or sets the set of objects that are associated with the policy. |
![]() |
Parent | Gets or sets the PolicyStore that is the parent of the policy object. |
![]() |
PolicyCategory | Gets or sets the category that is associated with the policy. |
![]() |
Properties() | Returns a collection instance properties. (Inherited from SfcInstance.) |
![]() |
PropertyStorageProvider() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
RootCondition | Gets or sets the name of the root condition for this policy. |
![]() |
ScheduleUid | Gets or sets the Guid that identifies the SQL Server Agent schedule that checks on the policy. |
![]() |
State() | Returns the state of the SfcInstance object. (Inherited from SfcInstance.) |
![]() |
Urn() | Returns the uniform resource name of the SfcInstance object. (Inherited from SfcInstance.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
ConnectionProcessingFinished | |
![]() |
ConnectionProcessingStarted | |
![]() |
PolicyEvaluationFinished | |
![]() |
PolicyEvaluationStarted | |
![]() |
propertyChanged() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
PropertyChanged() | CLS-compliant event for property changes. (Inherited from SfcInstance.) |
![]() |
propertyMetadataChanged() | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from SfcInstance.) |
![]() |
PropertyMetadataChanged() | CLS-compliant event for property metadata changes. (Inherited from SfcInstance.) |
![]() |
TargetProcessed |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
ISfcRenamableRename(SfcKey) | |
![]() ![]() |
ISfcRenamableScriptRename(SfcKey) | |
![]() ![]() |
ISfcValidateValidate(String, array<Object[]) |
Top