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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET