Determines whether the given path refers to an existing document.

Syntax

Visual Basic (declaration)
Public Function DocumentExists( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String) as XmlNode

C# (declaration)
public XmlNode DocumentExists( 
string AuthenticationTicket, string Path)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string The path of the document that to be tested.

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the document exists in the given path.
if success attribute is "false", the error attribute indicates the encountered error.