/// <summary>
 /// Returns the specified import from **"My Workspace"**.
 /// </summary>
 /// <remarks>
 /// &lt;br/&gt;**Required scope**: Dataset.ReadWrite.All or Dataset.Read.All
 /// &lt;br/&gt;To set the permissions scope, see [Register an
 /// app](https://docs.microsoft.com/power-bi/developer/register-app).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='importId'>
 /// The import id
 /// </param>
 public static Import GetImport(this IImportsOperations operations, System.Guid importId)
 {
     return(operations.GetImportAsync(importId).GetAwaiter().GetResult());
 }
예제 #2
0
 /// <summary>
 /// Gets the import metadata for the specifed import id
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// The group id
 /// </param>
 /// <param name='importId'>
 /// The import id
 /// </param>
 public static Import GetImport(this IImportsOperations operations, Guid groupId, Guid importId)
 {
     return(operations.GetImportAsync(groupId, importId).GetAwaiter().GetResult());
 }