Membres Policy
The Policy object represents a Policy-Based Management policy.
Le type Policy expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
Policy() () () () | Initializes a new instance of the Policy class. |
![]() |
Policy(PolicyStore, String) | Initializes a new instance of the Policy class. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
![]() |
Alter | Updates any Policy object property changes on the instance of SQL Server. |
![]() |
AlterImpl | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
CheckObjectCreated | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
CheckObjectState | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
Create | |
![]() |
CreateIdentityKey | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
CreateImpl | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
Discover | (Se substitue à SfcInstanceDiscover(ISfcDependencyDiscoveryObjectSink).) |
![]() |
Drop | Removes the policy from the instance of SQL Server. |
![]() |
DropImpl | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
Equals | (Hérité de 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 | (Hérité de Object.) |
![]() |
GetChildCollection | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
GetDomain | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
GetHashCode | (Hérité de Object.) |
![]() ![]() |
GetObjectFactory | Gets the object factory for the object. |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. (Hérité de SfcInstance.) |
![]() |
GetType | (Hérité de Object.) |
![]() |
GetTypeMetadataImpl | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
InitializeUIPropertyState | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
MarkForDropImpl | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
MarkRootAsConnected | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
MemberwiseClone | (Hérité de Object.) |
![]() |
MoveImpl | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (Hérité de SfcInstance.) |
![]() |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (Hérité de SfcInstance.) |
![]() |
PostAlter | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
PostCreate | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
PostDrop | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
PostMove | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
PostRename | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
ProduceConfigureScript | |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. (Hérité de SfcInstance.) |
![]() |
Rename | Renames the policy. |
![]() |
RenameImpl | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
ResetKey | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de 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 | Serializes the instance to XML. (Hérité de SfcInstance.) |
![]() |
ToString | Returns a string representation of the instance Urn. (Hérité de SfcInstance.) |
![]() |
UpdateUIPropertyState | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
UsesFacet | |
![]() |
Validate | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
Validate(String) |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
![]() |
AbstractIdentityKey | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de 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. (Hérité de 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. (Hérité de SfcInstance.) |
![]() |
PropertyStorageProvider | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de 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. (Hérité de SfcInstance.) |
![]() |
Urn | Returns the uniform resource name of the SfcInstance object. (Hérité de SfcInstance.) |
Haut de la page
Événements
Nom | Description | |
---|---|---|
![]() |
ConnectionProcessingFinished | |
![]() |
ConnectionProcessingStarted | |
![]() |
PolicyEvaluationFinished | |
![]() |
PolicyEvaluationStarted | |
![]() |
propertyChanged | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
PropertyChanged | CLS-compliant event for property changes. (Hérité de SfcInstance.) |
![]() |
propertyMetadataChanged | Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (Hérité de SfcInstance.) |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (Hérité de SfcInstance.) |
![]() |
TargetProcessed |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
![]() ![]() |
ISfcRenamableRename | |
![]() ![]() |
ISfcRenamableScriptRename | |
![]() ![]() |
ISfcValidateValidate |
Haut de la page