Share via


SqlConnection.CanCreateBatch Property

Definition

Gets a value that indicates whether this SqlConnection instance supports the DbBatch class.

public:
 virtual property bool CanCreateBatch { bool get(); };
public override bool CanCreateBatch { get; }
member this.CanCreateBatch : bool
Public Overrides ReadOnly Property CanCreateBatch As Boolean

Property Value

true if this instance supports the DbBatch class; otherwise, false. The default is true.

Remarks

ADO.net SQL provider implemented DbBatch and overrides CanCreateBatch property to return true.

Applies to