GatewaysExtensions.PatchDatasourceAsync Method (IGateways, String, String, String, String, Object, CancellationToken)
Updates the credentials for the specified datasource
Namespace: Microsoft.PowerBI.Api.Beta
Assembly: Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)
Syntax
public static Task<object> PatchDatasourceAsync(
this IGateways operations,
string collectionName,
string workspaceId,
string gatewayId,
string datasourceId,
object datasourceDelta,
CancellationToken cancellationToken = null
)
Parameters
operations
Type: Microsoft.PowerBI.Api.Beta.IGatewaysThe operations group for this extension method.
collectionName
Type: System.StringThe workspace collection name
workspaceId
Type: System.StringThe workspace id
gatewayId
Type: System.StringThe gateway id
datasourceId
Type: System.StringThe datasource id
datasourceDelta
Type: System.ObjectThe datasource changes
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<Object>
See Also
GatewaysExtensions Class
Microsoft.PowerBI.Api.Beta Namespace
Return to top