Quick Check


1. 

Which data provider supports asynchronous processing through the client?

image from book

2. 

How do you enable asynchronous processing?

image from book

3. 

What command methods are used to process a DataReader asynchronously?

image from book

Answers

1. 

The SqlClient provider, which is part of ADO.NET and available through the System.Data.SqlClient namespace, is used to support asynchronous processing through the Command object.

2. 

You enable asynchronous processing by adding the Asynchronous Processing keyword to the connection string.

3. 

You will need to use both the BeginDataReader and EndDataReader methods to retrieve data asynchronously using the Command object.




MCITP Self-Paced Training Kit Exam 70-442  .Designing and Optimizing Data Access by Using Microsoft SQL Server 2005
MCITP Self-Paced Training Kit Exam 70-442 .Designing and Optimizing Data Access by Using Microsoft SQL Server 2005
ISBN: 073562383X
EAN: N/A
Year: 2007
Pages: 162

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net