Redigera

Dela via


PolicyStatement.Attributes Property

Definition

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