Datasets.PutTableWithHttpMessagesAsync Method (String, String, String, String, Object, Dictionary<String, List<String>>, CancellationToken)
Updates a schema and metadata for the specified table
Namespace: Microsoft.PowerBI.Api.Beta
Assembly: Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)
Syntax
public Task<HttpOperationResponse<object>> PutTableWithHttpMessagesAsync(
string collectionName,
string workspaceId,
string datasetKey,
string tableName,
object requestMessage,
Dictionary<string, List<string>> customHeaders = null,
CancellationToken cancellationToken = null
)
Parameters
collectionName
Type: System.StringThe workspace collection name
workspaceId
Type: System.StringThe workspace id
datasetKey
Type: System.StringThe dataset id
tableName
Type: System.StringThe table name
requestMessage
Type: System.ObjectThe request message
customHeaders
Type: System.Collections.Generic.Dictionary<String, List<String>>Headers that will be added to request.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<HttpOperationResponse<Object>>
Implements
See Also
Datasets Class
Microsoft.PowerBI.Api.Beta Namespace
Return to top