Partager via


Propriété ReportPath

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.

Espace de noms :  Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly :  Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntaxe

'Déclaration
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ReportPath As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .String
The report path.

Notes

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