NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UnionCodeGroup.PolicyStatement

The policy statement associated with the code group. Policy statement applies to code in assemblies when evidence matches the membership condition.

[Visual Basic]
Public Property PolicyStatement As PolicyStatement
[C#]
public PolicyStatement PolicyStatement {get; set;}
[C++]
public: __property PolicyStatement* get_PolicyStatement();
public: __property void set_PolicyStatement(PolicyStatement*);
[JScript]
public function get PolicyStatement() : PolicyStatement;
public function set PolicyStatement(PolicyStatement);

Property Value

Policy statement for the code group.

Remarks

Policy statement is provided in the constructor, or may be set via this property.

Example

codeGroup.PolicyStatement = new PolicyStatement("Everything");

See Also

UnionCodeGroup Class | UnionCodeGroup Members | System.Security.Policy Namespace