Share via


SqlClientFactory.CanCreateBatch Property

Definition

Gets a value that indicates whether a DbBatch can be created.

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 a DbBatch can be created; otherwise, false .

Remarks

The DbProviderFactory class provides the CanCreateBatch property so that inheritors can indicate whether they can provide a DbBatch. The SqlClientFactory displays this property, but its value is always true.

Applies to