Policy Members
The Policy object represents a Policy-Based Management policy.
The following tables list the members exposed by the Policy type.
Public Constructors
Name | Description | |
---|---|---|
Policy | Overloaded. Initializes a new instance of the Policy class. |
Top
Public Properties
(see also Protected Properties )
Name | Description | |
---|---|---|
![]() |
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 category. |
![]() |
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) |
![]() |
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. |
![]() |
Urn | Returns the uniform resource name of the SfcInstance object. (inherited from SfcInstance) |
Top
Protected Properties
Name | Description | |
---|---|---|
![]() |
AbstractIdentityKey | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance) |
![]() |
PropertyStorageProvider | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance) |
![]() |
State | Returns the state of the SfcInstance object. (inherited from SfcInstance) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
Alter | Updates any Policy object property changes on the instance of SQL Server. |
![]() |
Create | |
![]() |
Discover | Overridden. |
![]() |
Drop | Removes the policy from the instance of SQL Server. |
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
Evaluate | Overloaded. |
![]() |
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 ) |
![]() |
ProduceConfigureScript | |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. (inherited from SfcInstance) |
![]() |
Rename | Renames the policy. |
![]() |
ScriptAlter | Alters the script that is used to create the policy. |
![]() |
ScriptAlterWithObjectSet | |
![]() |
ScriptCreate | Creates a script that is used to create the policy. |
![]() |
ScriptCreateWithDependencies | |
![]() |
ScriptCreateWithObjectSet | |
![]() |
ScriptDrop | Drops the script that is used to create the policy. |
![]() |
ScriptDropWithObjectSet | |
![]() |
Serialize | (inherited from SfcInstance ) |
![]() |
ToString | Returns a string representation of the instance Urn. (inherited from SfcInstance) |
![]() |
UsesFacet | |
![]() |
Validate | Overloaded. |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
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) |
![]() |
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) |
![]() |
DropImpl | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance) |
![]() |
Finalize | (inherited from Object ) |
![]() |
GetChildCollection | (inherited from SfcInstance ) |
![]() |
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 | (inherited from SfcInstance ) |
![]() |
MarkRootAsConnected | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance) |
![]() |
MemberwiseClone | (inherited from Object ) |
![]() |
MoveImpl | (inherited from SfcInstance ) |
![]() |
OnPropertyMetadataChanges | (inherited from SfcInstance ) |
![]() |
OnPropertyValueChanges | (inherited from SfcInstance ) |
![]() |
PostAlter | (inherited from SfcInstance ) |
![]() |
PostCreate | (inherited from SfcInstance ) |
![]() |
PostDrop | (inherited from SfcInstance ) |
![]() |
PostMove | (inherited from SfcInstance ) |
![]() |
PostRename | (inherited from SfcInstance ) |
![]() |
RenameImpl | (inherited from SfcInstance ) |
![]() |
ResetKey | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance) |
![]() |
UpdateUIPropertyState | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (inherited from SfcInstance) |
![]() |
Validate | Overloaded. |
Top
Public Events
(see also Protected Events )
Name | Description | |
---|---|---|
![]() |
ConnectionProcessingFinished | |
![]() |
ConnectionProcessingStarted | |
![]() |
PolicyEvaluationFinished | |
![]() |
PolicyEvaluationStarted | |
![]() |
PropertyChanged | CLS-compliant event for property changes. (inherited from SfcInstance) |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (inherited from SfcInstance) |
![]() |
TargetProcessed |
Top
Protected Events
Name | Description | |
---|---|---|
![]() |
propertyChanged | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.This event is not CLS-compliant. (inherited from SfcInstance) |
![]() |
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
Top