DatasetsOperationsExtensions.PostDatasetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PostDatasetAsync(IDatasetsOperations, CreateDatasetRequest, Nullable<DefaultRetentionPolicy>, CancellationToken)
public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Dataset> PostDatasetAsync (this Microsoft.PowerBI.Api.IDatasetsOperations operations, Microsoft.PowerBI.Api.Models.CreateDatasetRequest dataset, Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy? defaultRetentionPolicy = default, System.Threading.CancellationToken cancellationToken = default);
static member PostDatasetAsync : Microsoft.PowerBI.Api.IDatasetsOperations * Microsoft.PowerBI.Api.Models.CreateDatasetRequest * Nullable<Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Dataset>
<Extension()>
Public Function PostDatasetAsync (operations As IDatasetsOperations, dataset As CreateDatasetRequest, Optional defaultRetentionPolicy As Nullable(Of DefaultRetentionPolicy) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Dataset)
Parameters
- operations
- IDatasetsOperations
- dataset
- CreateDatasetRequest
- defaultRetentionPolicy
- Nullable<DefaultRetentionPolicy>
- cancellationToken
- CancellationToken
Returns
Applies to
PostDatasetAsync(IDatasetsOperations, Guid, CreateDatasetRequest, Nullable<DefaultRetentionPolicy>, CancellationToken)
public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Dataset> PostDatasetAsync (this Microsoft.PowerBI.Api.IDatasetsOperations operations, Guid groupId, Microsoft.PowerBI.Api.Models.CreateDatasetRequest dataset, Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy? defaultRetentionPolicy = default, System.Threading.CancellationToken cancellationToken = default);
static member PostDatasetAsync : Microsoft.PowerBI.Api.IDatasetsOperations * Guid * Microsoft.PowerBI.Api.Models.CreateDatasetRequest * Nullable<Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Dataset>
<Extension()>
Public Function PostDatasetAsync (operations As IDatasetsOperations, groupId As Guid, dataset As CreateDatasetRequest, Optional defaultRetentionPolicy As Nullable(Of DefaultRetentionPolicy) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Dataset)
Parameters
- operations
- IDatasetsOperations
- groupId
- Guid
- dataset
- CreateDatasetRequest
- defaultRetentionPolicy
- Nullable<DefaultRetentionPolicy>
- cancellationToken
- CancellationToken
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET