Sets the importance of the specified document.

Syntax

Visual Basic (declaration)
Public Function SetDocumentImportance( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String, _ ByVal Importance as short) as XmlNode

C# (declaration)
public XmlNode SetDocumentImportance( 
string AuthenticationTicket, string Path, short Importance)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string The Path of a document
Importance
    short Specifies the importance of the document.(0=Low;1=Normal;2=High;3=Vital)

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the importance of the document has been updated successfully.
if success attribute is "false", the error attribute indicates the encountered
error.

Remarks

The caller must have at least "Change" permission on the document.