共用方式為


IReportContext.ParentReportName 屬性

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

命名空間:  Microsoft.ReportingServices.Interfaces
組件:   Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)
  Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)

語法

'宣告
ReadOnly Property ParentReportName As String 
    Get
'用途
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

屬性值

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

備註

If the report is a subreport, this property returns the name of the parent report; otherwise, the property returns nullnull 參考 (在 Visual Basic 中為 Nothing).

請參閱

參考

IReportContext 介面

Microsoft.ReportingServices.Interfaces 命名空間