ServerReport.ReportServerUrl 屬性
取得或設定報表伺服器的 URL。
命名空間: Microsoft.Reporting.WebForms
組件: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.dll)
語法
'宣告
<NotifyParentPropertyAttribute(True)> _
<DefaultValueAttribute(GetType(Uri), "https://localhost/reportserver")> _
<CategoryAttribute("Misc")> _
<SRDescriptionAttribute("ReportServerUrlDesc")> _
<WebBrowsableAttribute(True)> _
Public Property ReportServerUrl As Uri
'用途
Dim instance As ServerReport
Dim value As Uri
value = instance.ReportServerUrl
instance.ReportServerUrl = value
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute(typeof(Uri), "https://localhost/reportserver")]
[CategoryAttribute("Misc")]
[SRDescriptionAttribute("ReportServerUrlDesc")]
[WebBrowsableAttribute(true)]
public Uri ReportServerUrl { get; set; }
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute(typeof(Uri), L"https://localhost/reportserver")]
[CategoryAttribute(L"Misc")]
[WebBrowsableAttribute(true)]
public:
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)
屬性值
包含報表伺服器之 URL 的 Uri 物件。
範例
請參閱<Render>,以取得程式碼範例。
另請參閱
參考
ServerReport 類別
ServerReport 成員
Microsoft.Reporting.WebForms 命名空間