combit List & Label 24 - .NET Online Web Help
DeleteAsync Method (DataSource)


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.
Deletes the data source on the server.
Syntax
'Declaration
 
Public Function DeleteAsync( _
   ByVal ignoreRemainingReferences As Boolean _
) As Task
public Task DeleteAsync( 
   bool ignoreRemainingReferences
)
public:
Task^ DeleteAsync( 
   bool ignoreRemainingReferences
) 

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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

DataSource Class
DataSource Members