Sets the rules of the specified folder.
Syntax
Visual Basic (declaration)
|
Public Function SetFolderRules( _ ByVal AuthenticationTicket as String, _
ByVal Path as String, _
ByVal xmlRules as XmlNode, _
ByVal ApplyToTree as bool) as XmlNode
|
C# (declaration)
|
public XmlNode SetFolderRules( string AuthenticationTicket,
string Path,
XmlNode xmlRules,
bool ApplyToTree)
|
Parameters
AuthenticationTicket
string infoRouter ticket
Path
string The Folder Path that specified rules to be applied
xmlRules
XmlNode The xml structure of the rules.To Details of this parameter see the remarks section.
ApplyToTree
bool To apply the specified rules to sub folders set this parameter to True
Return Value
returns xml fragment.
<response success="true" error="">
if success = "true", the Rules has been successfully applied.
if success = "false", the error attribute returns the error description.
Remarks