.NET Framework 4.6 and 4.5
Protected Overridable Function AddToBatch ( _
command As IDbCommand _
) As Integer
In DbDataAdapter, this method throws NotSupportedException. Classes that inherit from DbDataAdapter override this method to provide support for batches.Notes to Implementers
This method is protected and is designed for use by a .NET Framework data provider.
If a class that inherits from DbDataAdapter supports batches, that class overrides this method to allow users to add a command to a batch.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Supported in: 3.0, 2.0, 1.0