IQueryExecutionService.ExecuteRemoteExecutableAsync 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.
Executes a remote executable and returns results.
public System.Threading.Tasks.Task<string> ExecuteRemoteExecutableAsync (string remoteExecutable, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteRemoteExecutableAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function ExecuteRemoteExecutableAsync (remoteExecutable As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- remoteExecutable
- String
A remote executable string.
- cancellationToken
- CancellationToken
A cancellation token.
Returns
Execution result in JSON.