Share via


SqlConnectionStringBuilder.AsynchronousProcessing Propriété

Définition

Attention

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

Obsolète. Obtient ou définit une valeur booléenne qui indique si le traitement asynchrone est autorisé par la connexion créée à l'aide de cette chaîne de connexion.

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

Valeur de propriété

Valeur de la propriété AsynchronousProcessing ou false si aucune valeur n’a été fournie.

Attributs

Remarques

Cette propriété correspond aux clés « Asynchronous Processing » et « async » dans la chaîne de connexion. Pour tirer parti du traitement asynchrone fourni par l'objet SqlCommand, cette paire clé/valeur doit être incluse dans la chaîne de connexion de l'objet SqlConnection associé.

S’applique à

Voir aussi