Sdílet prostřednictvím


ReportViewerWebPart.ReportPath Property

Gets or sets a fully qualified path to a report that is on the current SharePoint site, or on a site within the same Web application or farm.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ReportPath As String
    Get
    Set
'Usage
Dim instance As ReportViewerWebPart
Dim value As String

value = instance.ReportPath

instance.ReportPath = value
[WebPartStorageAttribute(Storage.Shared)]
public string ReportPath { get; set; }
[WebPartStorageAttribute(Storage::Shared)]
public:
property String^ ReportPath {
    String^ get ();
    void set (String^ value);
}
[<WebPartStorageAttribute(Storage.Shared)>]
member ReportPath : string with get, set
function get ReportPath () : String
function set ReportPath (value : String)

Property Value

Type: System.String
The report path.

Remarks

The ReportViewerWebPart can also consume a report path from a connected Web part that implements the IWebPartRow interface.