Gateways.PatchDatasourceWithHttpMessagesAsync Method (String, String, String, String, Object, Dictionary<String, List<String>>, CancellationToken)

 

Updates the credentials for the specified datasource

Namespace:   Microsoft.PowerBI.Api.Beta
Assembly:  Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)

Syntax

public Task<HttpOperationResponse<object>> PatchDatasourceWithHttpMessagesAsync(
    string collectionName,
    string workspaceId,
    string gatewayId,
    string datasourceId,
    object datasourceDelta,
    Dictionary<string, List<string>> customHeaders = null,
    CancellationToken cancellationToken = null
)

Parameters

  • collectionName
    Type: System.String

    The workspace collection name

Return Value

Type: System.Threading.Tasks.Task<HttpOperationResponse<Object>>

Implements

IGateways.PatchDatasourceWithHttpMessagesAsync(String, String, String, String, Object, Dictionary<String, List<String>>, CancellationToken)

See Also

Gateways Class
Microsoft.PowerBI.Api.Beta Namespace

Return to top