共用方式為


ServerReport.ReportServerUrl 屬性

取得或設定報表伺服器的 URL。

命名空間:  Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)

語法

'宣告
Public Property ReportServerUrl As Uri
    Get
    Set
'用途
Dim instance As ServerReport
Dim value As Uri

value = instance.ReportServerUrl

instance.ReportServerUrl = value
public Uri ReportServerUrl { get; set; }
public:
property Uri^ ReportServerUrl {
    Uri^ get ();
    void set (Uri^ value);
}
member ReportServerUrl : Uri with get, set
function get ReportServerUrl () : Uri
function set ReportServerUrl (value : Uri)

屬性值

型別:System.Uri
包含報表伺服器之 URL 的 Uri 物件。

範例

如需詳細資訊和程式碼範例,請參閱 Render(String, String, String%, String%, String%, array<String[]%, array<Warning[]%)。

請參閱

參考

ServerReport 類別

Microsoft.Reporting.WinForms 命名空間