A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlcommand.endexecutexmlreader below:

SqlCommand.EndExecuteXmlReader(IAsyncResult) Method (System.Data.SqlClient) | Microsoft Learn

SqlCommand.EndExecuteXmlReader(IAsyncResult) Method Definition

Finishes asynchronous execution of a Transact-SQL statement, returning the requested data as XML.

public:
 System::Xml::XmlReader ^ EndExecuteXmlReader(IAsyncResult ^ asyncResult);
public System.Xml.XmlReader EndExecuteXmlReader(IAsyncResult asyncResult);
member this.EndExecuteXmlReader : IAsyncResult -> System.Xml.XmlReader
Public Function EndExecuteXmlReader (asyncResult As IAsyncResult) As XmlReader
Parameters Returns

An XmlReader object that can be used to fetch the resulting XML data.

Exceptions

asyncResult parameter is null (Nothing in Microsoft Visual Basic)

Examples

For examples demonstrating the use of the EndExecuteXmlReader method, see BeginExecuteXmlReader.

Remarks

When you call BeginExecuteXmlReader to execute a Transact-SQL statement, you must call EndExecuteXmlReader 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.

See also

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4