Interface IBatchPublishApiClient<TPublish>
Interface for a content typed API client that can publish multiple items as a batch.
Inherited Members
Namespace: Tableau.Migration.Api
Assembly: Tableau.Migration.dll
Syntax
public interface IBatchPublishApiClient<TPublish> : IContentApiClient
Type Parameters
Name | Description |
---|---|
TPublish | The content publish type. |
Methods
PublishBatchAsync(IEnumerable<TPublish>, CancellationToken)
Publishes a batch of content items.
Declaration
Task<IResult> PublishBatchAsync(IEnumerable<TPublish> items, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TPublish> | items | The content items to publish. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IResult> | The results of the publishing. |