ImportsExtensions.PostImportWithFile Method (IImports, String, String, Stream, String, Nullable<Int32>)

 

Uploads a PBIX file to the specified workspace

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

Syntax

public static Import PostImportWithFile(
    this IImports operations,
    string collectionName,
    string workspaceId,
    Stream fileStream,
    string datasetDisplayName,
    Nullable<int> nameConflict = null
)

Parameters

  • collectionName
    Type: System.String

    The workspace collection name

  • datasetDisplayName
    Type: System.String

    The dataset display name

Return Value

Type: Microsoft.PowerBI.Api.Beta.Models.Import

See Also

ImportsExtensions Class
Microsoft.PowerBI.Api.Beta Namespace

Return to top