ImportsOperationsExtensions.PostImportWithFileAsync Method

Definition

Overloads

PostImportWithFileAsync(IImportsOperations, Stream, String, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, CancellationToken)
PostImportWithFileAsync(IImportsOperations, Guid, Stream, String, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, CancellationToken)

PostImportWithFileAsync(IImportsOperations, Stream, String, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Import> PostImportWithFileAsync (this Microsoft.PowerBI.Api.IImportsOperations operations, System.IO.Stream fileStream, string datasetDisplayName = default, Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode? nameConflict = default, bool? skipReport = default, System.Threading.CancellationToken cancellationToken = default);
static member PostImportWithFileAsync : Microsoft.PowerBI.Api.IImportsOperations * System.IO.Stream * string * Nullable<Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Import>
<Extension()>
Public Function PostImportWithFileAsync (operations As IImportsOperations, fileStream As Stream, Optional datasetDisplayName As String = Nothing, Optional nameConflict As Nullable(Of ImportConflictHandlerMode) = Nothing, Optional skipReport As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Import)

Parameters

operations
IImportsOperations
fileStream
Stream
datasetDisplayName
String
skipReport
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to

PostImportWithFileAsync(IImportsOperations, Guid, Stream, String, Nullable<ImportConflictHandlerMode>, Nullable<Boolean>, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Import> PostImportWithFileAsync (this Microsoft.PowerBI.Api.IImportsOperations operations, Guid groupId, System.IO.Stream fileStream, string datasetDisplayName = default, Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode? nameConflict = default, bool? skipReport = default, System.Threading.CancellationToken cancellationToken = default);
static member PostImportWithFileAsync : Microsoft.PowerBI.Api.IImportsOperations * Guid * System.IO.Stream * string * Nullable<Microsoft.PowerBI.Api.Models.ImportConflictHandlerMode> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Import>
<Extension()>
Public Function PostImportWithFileAsync (operations As IImportsOperations, groupId As Guid, fileStream As Stream, Optional datasetDisplayName As String = Nothing, Optional nameConflict As Nullable(Of ImportConflictHandlerMode) = Nothing, Optional skipReport As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Import)

Parameters

operations
IImportsOperations
groupId
Guid
fileStream
Stream
datasetDisplayName
String
skipReport
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to