SqlConnectionStringBuilder.AsynchronousProcessing 属性

定义

注意

AsynchronousProcessing has been deprecated. SqlConnection will ignore the 'Asynchronous Processing' keyword and always allow asynchronous processing.

已过时。 获取或设置一个布尔值,该值指定使用此连接字符串创建的连接是否允许异步处理。

public:
 property bool AsynchronousProcessing { bool get(); void set(bool value); };
public bool AsynchronousProcessing { get; set; }
[System.Obsolete("AsynchronousProcessing has been deprecated. SqlConnection will ignore the 'Asynchronous Processing' keyword and always allow asynchronous processing.")]
public bool AsynchronousProcessing { get; set; }
member this.AsynchronousProcessing : bool with get, set
[<System.Obsolete("AsynchronousProcessing has been deprecated. SqlConnection will ignore the 'Asynchronous Processing' keyword and always allow asynchronous processing.")>]
member this.AsynchronousProcessing : bool with get, set
Public Property AsynchronousProcessing As Boolean

属性值

AsynchronousProcessing 属性的值,或者,如果未提供任何值,则为 false

属性

注解

此属性与连接字符串内的“Asynchronous Processing”和“async”键相对应。 若要利用 SqlCommand 对象提供的异步处理,此键/值对必须包括在关联的 SqlConnection 对象的连接字符串内。

适用于

另请参阅