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!

PolicyLevel.ToXml

Creates an XML encoding, of the security object and its current state.

[Visual Basic]
Public Function ToXml() As SecurityElement
[C#]
public SecurityElement ToXml();
[C++]
public: SecurityElement* ToXml();
[JScript]
public function ToXml() : SecurityElement;

Return Value

An XML encoding of the security object, including any state information.

Remarks

Custom code that extends security objects will need to implement the ToXML and FromXML methods to make the objects security-encodable.

See Also

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