SqlCommand.EndExecuteXmlReader Method (IAsyncResult)
Finishes asynchronous execution of a Transact-SQL statement, returning the requested data as XML.
Assembly: System.Data (in System.Data.dll)
asyncResult parameter is null (Nothing in Microsoft Visual Basic)
When you call BeginExecuteXmlReader to execute a Transact-SQL statement, you must call in order to complete the operation. If the process of executing the command has not yet finished, this method blocks until the operation is complete. Users can verify that the command has completed its operation by using the IAsyncResult instance returned by the BeginExecuteXmlReader method. If a callback procedure was specified in the call to BeginExecuteXmlReader, this method must be called.
Available since 2.0