ExecuteObjectXMLCommand method

Executes the XML command(s) on the specified target object.

Syntax


C++

HRESULT ExecuteXMLObjectCommand(
   IDispatch* pTargetObject,
   IERURoom* pContextRoom,
   BSTR eRoomXML,
   BSTR *pRetVal)

Scripting languages

Set Results = Object.ExecuteXMLObjectCommand(
   pTargetObject as String,
   pContextRoom as IERURoom,
   eRoomXML as String,
   pRetVal as String)

Parameters


pTargetObject

Specifies the SAAPI target of the XML query. See Remarks below for a list of SAAPI interfaces that can be used for this parameter.

pContextRoom

In order to provide the context for the query operation, you must specify an IERURoom pointer for any target object at a level lower than a Room (Item or AccessControl, for example). If the target object is a Room or a Facility, this parameter can be NULL.

eRoomXML

The XML query, consisting of one <command> element and its contents.

pRetVal

The XML results of the query.

Return value


C++

The return code.

Scripting languages

The XML results of the query.

Remarks


You can use any of the following SAAPI interfaces for the pTargetObject parameter:

 

IERUFacility

IERURoom

IERUMemberSet

IERUMember

IERUUser

IERUGroup

IERUCustomRole

IERUDirectoryMember

IERUDirectoryUser

IERUDirectoryGroup

IERUItem

IERUPrincipalItem

IERUCalendarPage

IERUCalendarEventPage

IERUDBPage

IERUDiscussionPage

IERUFolderPage

IERUInboxPage

IERUMailPage

IERUNotePage

IERUPollPage

IERUTopicPage

IERUVersionPage

IERUBallot

IERUComment

IERUDBRow

IERUFile

IERULink

IERUPoll

IERUPollEntry

IERURecycleBin

IERUIntercom

IERUIcon

IERURichText

IERUDBColumn

IERULicenseManager

IERULicense

IERUAccessControl

IERUCalendar

IERUCalendarEvent

IERUCalendarRecurringEvent

IERUDirectoryConnection

IERULDAPConnection

IERUVote

IERURoutingSource

IERURoutingTarget

IERUPortalConfigManager

IERUPortalConfig

IERUPortalEntry

IERUCustomField

IERUCustomFieldDef

IERUCustomFieldDefManager

IERUMemberManager

IERUStationeryManager

IERUStationery

IERUDatabase

IERUCustomProperty

IERUVersion

IERUProjectStatus

IERUTask

IERUDBCell

 

 

 

Home

Applies to

IERUXMLQueryProcessor

See Also
ExecuteXMLCommand