다음을 통해 공유


ISqlConnectionService.ExecuteAsync(Func<ISqlConnection,Int32>) Method

Definition

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

Applies to