PolicyStatement.Attributes Property
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.
Gets or sets the attributes of the policy statement.
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
Property Value
The attributes of the policy statement.
Examples
The following code example shows how to use the Attributes property to set the All flag. This code example is part of a larger example provided for the PolicyStatement class.
policyStatement->Attributes = PolicyStatementAttribute::All;
policyStatement.Attributes = PolicyStatementAttribute.All;
policyStatement.Attributes = PolicyStatementAttribute.All
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.