Share via


SqlConnectionStringBuilder.AsynchronousProcessing Property

Definition

Caution

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

Obsolete. Gets or sets a Boolean value that indicates whether asynchronous processing is allowed by the connection created by using this connection string.

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

Property Value

The value of the AsynchronousProcessing property, or false if no value has been supplied.

Attributes

Remarks

This property corresponds to the "Asynchronous Processing" and "async" keys within the connection string. In order to take advantage of the asynchronous processing provided by the SqlCommand object, this key/value pair must be included within the connection string of the associated SqlConnection object.

Applies to

See also