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
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | resultDocumentHandler is null
a null reference (Nothing in Visual Basic)
nullptr
|
InvalidOperationExceptionInvalidOperationExceptionInvalidOperationException |
The query is not updating (IsUpdateIsUpdateIsUpdate is false False false ).
|
XdmExceptionXdmExceptionXdmException | An error occurred evaluating the query. |
LicenceExceptionLicenceExceptionLicenceException | This version of XmlPrime has expired. |
Remarks
This method is suitable for queries which use fn:put
.