combit List & Label 29 - .NET Help
combit.ReportServer.ClientApi.Objects Namespace / PreparedReport Class / PrintOnServerAsync Method


In This Topic
    PrintOnServerAsync Method
    In This Topic
    Starts the printing of this report on the server.
    Syntax
    'Declaration
     
    
    Public Function PrintOnServerAsync() As Task
    public Task PrintOnServerAsync()
    public:
    Task^ PrintOnServerAsync(); 
    Exceptions
    ExceptionDescription
    Thrown when a referenced report template does not exist. The (localized) error message can be displayed to the user.
    Thrown when a referenced export/printing profile does not exist. The (localized) error message can be displayed to the user.
    Thrown when current user has no access right to the report template, datasoure, ...
    Thrown for errors during the print of the report. The exception message usually contains a localized error text.
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also