多个活动结果集 (MARS)Multiple Active Result Sets (MARS)

多活动结果集 (MARS) 是一项允许对单个连接执行多个批处理的功能。Multiple Active Result Sets (MARS) is a feature that allows the execution of multiple batches on a single connection. 在以前的版本中,在单个连接上一次只能执行一个批处理。In previous versions, only one batch could be executed at a time against a single connection. 使用 MARS 执行多个批处理并不意味着同时执行操作。Executing multiple batches with MARS does not imply simultaneous execution of operations.

本节内容In This Section

启用多重活动结果集Enabling Multiple Active Result Sets
讨论如何在 SQL Server 中使用 MARS。Discusses how to use MARS with SQL Server.

操作数据Manipulating Data
提供编写 MARS 应用程序的示例。Provides examples of coding MARS applications.

异步操作Asynchronous Operations
提供有关在 ADO.NET 中使用新的异步功能的详细信息。Provides details on using the new asynchronous features in ADO.NET.

请参阅See also