共用方式為


DatasetsOperationsExtensions.UpdateDatasourcesAsync Method

Definition

Overloads

UpdateDatasourcesAsync(IDatasetsOperations, Guid, String, UpdateDatasourcesRequest, CancellationToken)
UpdateDatasourcesAsync(IDatasetsOperations, String, UpdateDatasourcesRequest, CancellationToken)

UpdateDatasourcesAsync(IDatasetsOperations, Guid, String, UpdateDatasourcesRequest, CancellationToken)

public static System.Threading.Tasks.Task UpdateDatasourcesAsync (this Microsoft.PowerBI.Api.IDatasetsOperations operations, Guid groupId, string datasetId, Microsoft.PowerBI.Api.Models.UpdateDatasourcesRequest updateDatasourcesRequest, System.Threading.CancellationToken cancellationToken = default);
static member UpdateDatasourcesAsync : Microsoft.PowerBI.Api.IDatasetsOperations * Guid * string * Microsoft.PowerBI.Api.Models.UpdateDatasourcesRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateDatasourcesAsync (operations As IDatasetsOperations, groupId As Guid, datasetId As String, updateDatasourcesRequest As UpdateDatasourcesRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IDatasetsOperations
groupId
Guid
datasetId
String
updateDatasourcesRequest
UpdateDatasourcesRequest
cancellationToken
CancellationToken

Returns

Applies to

UpdateDatasourcesAsync(IDatasetsOperations, String, UpdateDatasourcesRequest, CancellationToken)

public static System.Threading.Tasks.Task UpdateDatasourcesAsync (this Microsoft.PowerBI.Api.IDatasetsOperations operations, string datasetId, Microsoft.PowerBI.Api.Models.UpdateDatasourcesRequest updateDatasourcesRequest, System.Threading.CancellationToken cancellationToken = default);
static member UpdateDatasourcesAsync : Microsoft.PowerBI.Api.IDatasetsOperations * string * Microsoft.PowerBI.Api.Models.UpdateDatasourcesRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateDatasourcesAsync (operations As IDatasetsOperations, datasetId As String, updateDatasourcesRequest As UpdateDatasourcesRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IDatasetsOperations
datasetId
String
updateDatasourcesRequest
UpdateDatasourcesRequest
cancellationToken
CancellationToken

Returns

Applies to