XQuery.EvaluateUpdate Method (IResultDocumentHandler)XQuery.EvaluateUpdate Method (IResultDocumentHandler)XQuery::EvaluateUpdate Method (IResultDocumentHandler^)

Evaluates an updating XQuery program with the specified result document handler.

Syntax

Public Sub EvaluateUpdate( _
    resultDocumentHandler As IResultDocumentHandler _
)
public void EvaluateUpdate(
    IResultDocumentHandler resultDocumentHandler
)
public:
void EvaluateUpdate(
    IResultDocumentHandler^ resultDocumentHandler
)
 

Parameters

resultDocumentHandler

Type: XmlPrime.IResultDocumentHandlerXmlPrime.IResultDocumentHandlerXmlPrime::IResultDocumentHandler^

The result document handler.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionresultDocumentHandler is null a null reference (Nothing in Visual Basic) nullptr
InvalidOperationExceptionInvalidOperationExceptionInvalidOperationException The query is not updating (IsUpdateIsUpdateIsUpdate is falseFalsefalse).
XdmExceptionXdmExceptionXdmException An error occurred evaluating the query.
LicenceExceptionLicenceExceptionLicenceExceptionThis version of XmlPrime has expired.

Remarks

This method is suitable for queries which use fn:put.