Udostępnij za pośrednictwem


ServerReport.ReportServerUrl Property

Gets or sets the URL for the report server.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<NotifyParentPropertyAttribute(True)> _
<WebBrowsableAttribute(True)> _
<DefaultValueAttribute(GetType(Uri), "https://localhost/reportserver")> _
<CategoryAttribute("Misc")> _
Public Property ReportServerUrl As Uri
'Usage
Dim instance As ServerReport
Dim value As Uri

value = instance.ReportServerUrl

instance.ReportServerUrl = value
[NotifyParentPropertyAttribute(true)] 
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(typeof(Uri), "https://localhost/reportserver")] 
[CategoryAttribute("Misc")] 
public Uri ReportServerUrl { get; set; }
[NotifyParentPropertyAttribute(true)] 
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(typeof(Uri), L"https://localhost/reportserver")] 
[CategoryAttribute(L"Misc")] 
public:
property Uri^ ReportServerUrl {
    Uri^ get ();
    void set (Uri^ value);
}
/** @property */
public Uri get_ReportServerUrl ()

/** @property */
public void set_ReportServerUrl (Uri value)
public function get ReportServerUrl () : Uri

public function set ReportServerUrl (value : Uri)

Property Value

A Uri object containing the URL for the report server.

Example

Please see Render for a code example.

See Also

Reference

ServerReport Class
ServerReport Members
Microsoft.Reporting.WebForms Namespace