ISqlConnectionService.ExecuteAsync(Func<ISqlConnection,Int32>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Execute a statement on our database
public:
System::Threading::Tasks::Task<int> ^ ExecuteAsync(Func<Microsoft::VisualStudio::Workspace::Indexing::ISqlConnection ^, int> ^ executeCallback);
public System.Threading.Tasks.Task<int> ExecuteAsync (Func<Microsoft.VisualStudio.Workspace.Indexing.ISqlConnection,int> executeCallback);
abstract member ExecuteAsync : Func<Microsoft.VisualStudio.Workspace.Indexing.ISqlConnection, int> -> System.Threading.Tasks.Task<int>
Public Function ExecuteAsync (executeCallback As Func(Of ISqlConnection, Integer)) As Task(Of Integer)
Parameters
- executeCallback
- Func<ISqlConnection,Int32>
The execute callback
Returns
Completion task with affected rows