Exago .NET API Documentation
GetReportName Method
Example 
WebReports.Api.Reports Namespace > ReportObjectFactory Class : GetReportName Method
The content ID of the report whose name to retrieve.
Retrieve the name of a report with the provided content ID.
Syntax
public System.string GetReportName( 
   System.Guid reportId
)

Parameters

reportId
The content ID of the report whose name to retrieve.

Return Value

A string with the path and name of the requested report.
Exceptions
ExceptionDescription
System.FormatException is thrown if parsing a Guid from a string, and the string is not in the correct format. For example: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
Example
Guid myReportId = Guid.Parse("b3ac4422-a7c7-4da9-85ac-713bce8fe03d");
Label1.Text = api.ReportObjectFactory.GetReportName(myReportId);
See Also

Reference

ReportObjectFactory Class
ReportObjectFactory Members