IReportContext.ParentReportName Property

Gets the value that specifies the name of the parent report.

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Syntax

'Declaration
ReadOnly Property ParentReportName As String
    Get
'Usage
Dim instance As IReportContext
Dim value As String

value = instance.ParentReportName
string ParentReportName { get; }
property String^ ParentReportName {
    String^ get ();
}
abstract ParentReportName : string
function get ParentReportName () : String

Property Value

Type: System.String
A value that specifies the name of the parent report.

Remarks

If the report is a subreport, this property returns the name of the parent report; otherwise, the property returns nulla null reference (Nothing in Visual Basic).