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
operations
Type: Microsoft.PowerBI.Api.Beta.IImportsThe import operations
collectionName
Type: System.StringThe workspace collection name
workspaceId
Type: System.StringThe workspace id
fileStream
Type: System.IO.StreamThe PBIX file to import
datasetDisplayName
Type: System.StringThe dataset display name
nameConflict
Type: System.Nullable<Int32>Whether to overwrite dataset during conflicts
Return Value
Type: Microsoft.PowerBI.Api.Beta.Models.Import
See Also
ImportsExtensions Class
Microsoft.PowerBI.Api.Beta Namespace
Return to top