PolicyStatement.Attributes Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit les attributs de l'instruction de stratégie.
public:
property System::Security::Policy::PolicyStatementAttribute Attributes { System::Security::Policy::PolicyStatementAttribute get(); void set(System::Security::Policy::PolicyStatementAttribute value); };
public System.Security.Policy.PolicyStatementAttribute Attributes { get; set; }
member this.Attributes : System.Security.Policy.PolicyStatementAttribute with get, set
Public Property Attributes As PolicyStatementAttribute
Valeur de propriété
Attributs de l'instruction de stratégie.
Exemples
L’exemple de code suivant montre comment utiliser la Attributes propriété pour définir l’indicateur All . Cet exemple de code fait partie d’un exemple plus grand fourni pour la PolicyStatement classe .
policyStatement->Attributes = PolicyStatementAttribute::All;
policyStatement.Attributes = PolicyStatementAttribute.All;
policyStatement.Attributes = PolicyStatementAttribute.All
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour