combit List & Label 25 - .NET Online Web Help
DeleteAsync Method (IDataSourceService)


combit.ReportServer.ClientApi.Services Namespace > IDataSourceService Interface : DeleteAsync Method
ID of the data source to delete.
If this parameter is set false, an combit.ReportServer.ClientApi.InvalidInputException is thrown if the data source is still used in report templates. The data source is not deleted in that case.
Deletes the data source on the server.
Syntax

Parameters

dataSourceId
ID of the data source to delete.
ignoreRemainingReferences
If this parameter is set false, an combit.ReportServer.ClientApi.InvalidInputException is thrown if the data source is still used in report templates. The data source is not deleted in that case.
Exceptions
ExceptionDescription
Thrown when the data source is still used by report templates, and ignoreRemainingReferences is not true.
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

IDataSourceService Interface
IDataSourceService Members