Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Ruft die Attribute der Richtlinienanweisung ab oder legt diese fest.
Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Property Attributes As PolicyStatementAttribute
'Usage
Dim instance As PolicyStatement
Dim value As PolicyStatementAttribute
value = instance.Attributes
instance.Attributes = value
public PolicyStatementAttribute Attributes { get; set; }
public:
property PolicyStatementAttribute Attributes {
PolicyStatementAttribute get ();
void set (PolicyStatementAttribute value);
}
/** @property */
public PolicyStatementAttribute get_Attributes ()
/** @property */
public void set_Attributes (PolicyStatementAttribute value)
public function get Attributes () : PolicyStatementAttribute
public function set Attributes (value : PolicyStatementAttribute)
Eigenschaftenwert
Die Attribute der Richtlinienanweisung.
Beispiel
Im folgenden Codebeispiel wird die Verwendung der Attributes-Eigenschaft zum Festlegen des All-Flags veranschaulicht. Dieses Codebeispiel ist Teil eines umfangreicheren Beispiels für die PolicyStatement-Klasse.
policyStatement.Attributes = PolicyStatementAttribute.All
policyStatement.Attributes = PolicyStatementAttribute.All;
policyStatement->Attributes = PolicyStatementAttribute::All;
policyStatement.set_Attributes(PolicyStatementAttribute.All);
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
PolicyStatement-Klasse
PolicyStatement-Member
System.Security.Policy-Namespace