SendXMLToSTS Method

The SendXMLToSTS method returns an XML document in response to an XML request posted to Microsoft Windows SharePoint Services. The documents use Collaborative Application Markup Language (CAML), which is documented in the Windows SharePoint Services SDK.

Syntax

Function SendXMLToSTS(ByVal bstrPostUrl   As String, ByVal bstrCommand   As String, ByVal bstrSessionId   As String, ByVal bstrValidator   As String) As Variant

Parameters

bstrPostUrl    Required. String that specifies the URL where you want to send the XML. This must end with /_vti_bin/owssvr.dll?Cmd=DisplayPost and relate to a specific subweb.

bstrCommand Required. String representing a valid CAML request to be passed to the URL.

bstrSessionId Required. String representing a valid Project Server Session GUID.

bstrValidator Required. String representing a valid Resource GUID stored in Project Server database. This function call must be made by a valid Project Server user.

Return Values

Returns an XML document in response to the request.

Remarks

For usage, see STSUTIL.asp in the library subdirectory of the Microsoft Project Server virtual root.

See Also

AddSTSObject Method

Applies To

IObjLinkProvider Interface

Additional Information

Object Link Provider Reference for Microsoft Project Server

Object Link Provider Concepts and Architecture

Windows SharePoint Services from Microsoft Software Development Kit