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!

ApplicationDirectoryMembershipCondition.ToXml (PolicyLevel)

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

[Visual Basic]
Overloads Overridable Public Function ToXml( _
   ByVal level As PolicyLevel _
) As SecurityElement
[C#]
public virtual SecurityElement ToXml(
   PolicyLevel level
);
[C++]
public: virtual SecurityElement* ToXml(
   PolicyLevel* level
);
[JScript]
public function ToXml(
   level : PolicyLevel
) : SecurityElement;

Parameters

level
Policy level context for resolving named permission set references.

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.

Even though this class doesn't use the policy level context it is passed through the policy objects for use by other objects.

See Also

ApplicationDirectoryMembershipCondition Class | ApplicationDirectoryMembershipCondition Members | System.Security.Policy Namespace | ApplicationDirectoryMembershipCondition.ToXml Overload List