ScriptsOperationsExtensions.ListByDatabaseAsync Method

Definition

Returns the list of database scripts for given database.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Kusto.Models.Script>> ListByDatabaseAsync (this Microsoft.Azure.Management.Kusto.IScriptsOperations operations, string resourceGroupName, string clusterName, string databaseName, System.Threading.CancellationToken cancellationToken = default);
static member ListByDatabaseAsync : Microsoft.Azure.Management.Kusto.IScriptsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Kusto.Models.Script>>
<Extension()>
Public Function ListByDatabaseAsync (operations As IScriptsOperations, resourceGroupName As String, clusterName As String, databaseName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Script))

Parameters

operations
IScriptsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group containing the Kusto cluster.

clusterName
System.String

The name of the Kusto cluster.

databaseName
System.String

The name of the database in the Kusto cluster.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Script>>

Applies to