ManagementPolicyRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.
public class ManagementPolicyRule
type ManagementPolicyRule = class
Public Class ManagementPolicyRule
- Inheritance
-
ManagementPolicyRule
Constructors
ManagementPolicyRule() |
Initializes a new instance of the ManagementPolicyRule class. |
ManagementPolicyRule(String, ManagementPolicyDefinition, Nullable<Boolean>) |
Initializes a new instance of the ManagementPolicyRule class. |
Properties
Definition |
Gets or sets an object that defines the Lifecycle rule. |
Enabled |
Gets or sets rule is enabled if set to true. |
Name |
Gets or sets a rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. |
Type |
The valid value is Lifecycle |
Methods
Validate() |
Validate the object. |
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per