PolicyStatement.Attributes Właściwość

Definicja

Pobiera lub ustawia atrybuty instrukcji zasad.

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

Wartość właściwości

Atrybuty instrukcji zasad.

Przykłady

W poniższym przykładzie kodu pokazano, jak ustawić flagę All za pomocą Attributes właściwości . Ten przykład kodu jest częścią większego przykładu podanego PolicyStatement dla klasy.

policyStatement->Attributes = PolicyStatementAttribute::All;
policyStatement.Attributes = PolicyStatementAttribute.All;
policyStatement.Attributes = PolicyStatementAttribute.All

Dotyczy