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!

SecurityManager.SavePolicy

Saves policy as modified in the security policy state as exposed by the PolicyHierarchy, and the PolicyLevel, the ICodeGroup, and other classes that represent configuration of security policy.

[Visual Basic]
Public Shared Sub SavePolicy()
[C#]
public static void SavePolicy();
[C++]
public: static void SavePolicy();
[JScript]
public static function SavePolicy();

Remarks

Unless this method is subsequently called, changes made to the policy objects will not be saved and therefore will not affect subsequent application runs.

File access exceptions are possible if there are problems writing files, but these are not specific to this method.

See Also

SecurityManager Class | SecurityManager Members | System.Security Namespace