ImportsExtensions.GetImportByIdAsync Method (IImports, String, String, String, CancellationToken)
Gets the import metadata for the specifed import id
Namespace: Microsoft.PowerBI.Api.Beta
Assembly: Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)
Syntax
public static Task<Import> GetImportByIdAsync(
this IImports operations,
string collectionName,
string workspaceId,
string importId,
CancellationToken cancellationToken = null
)
Parameters
operations
Type: Microsoft.PowerBI.Api.Beta.IImportsThe operations group for this extension method.
collectionName
Type: System.StringThe workspace collection name
workspaceId
Type: System.StringThe workspace id
importId
Type: System.StringThe import id
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<Import>
See Also
ImportsExtensions Class
Microsoft.PowerBI.Api.Beta Namespace
Return to top