PolicyStatement.Attributes Propriedade

Definição

Obtém ou define os atributos da declaração de política.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

Valor da propriedade

PolicyStatementAttribute

Os atributos da declaração de política.The attributes of the policy statement.

Exemplos

O exemplo de código a seguir mostra como usar a Attributes propriedade para definir o All sinalizador.The following code example shows how to use the Attributes property to set the All flag. Este exemplo de código faz parte de um exemplo maior fornecido para a PolicyStatement classe.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

Aplica-se a