Partager via


DataCommand.Prepare Method

Include Protected Members
Include Inherited Members

Prepares the specified command on the data source to be executed; the command can then be executed multiple times, with varying parameters.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Prepare(String) Prepares the specified command on the data source to be executed; the command can then be executed multiple times, with varying parameters.
Public method Prepare(String, DataCommandType) Prepares the specified command on the data source to be executed; the command can then be executed multiple times, with varying parameters.
Public method Prepare(String, DataCommandType, array<IVsDataParameter[]) Prepares the specified command on the data source to be executed; the command can then be executed multiple times, with varying parameters.
Public method Prepare(String, DataCommandType, array<IVsDataParameter[], Int32) Prepares the specified command on the data source to be executed; the command can then be executed multiple times, with varying parameters.

Top

See Also

Reference

DataCommand Class

Microsoft.VisualStudio.Data.Framework Namespace