combit List & Label 30 - .NET Help
combit.ReportServer.ClientApi.Objects Namespace / DataSource Class / DeleteAsync Method
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.


DeleteAsync Method (DataSource)
Deletes the data source on the server.
Syntax
'Declaration
 
Public Function DeleteAsync( _
   ByVal ignoreRemainingReferences As Boolean _
) As Task
 

Parameters

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 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also