共用方式為


第 4 課:執行應用程式 (VB/VC#)

Visual Studio 提供幾種從 IDE 建立與執行主控台應用程式的方法,例如:

  • 啟動並偵錯
  • 啟動但不偵錯

若要建立和執行 GetPropertiesSample

  1. [偵錯] 功能表上,按一下 [啟動但不偵錯]。這能確保在程式執行完成後,主控台視窗仍維持開啟的狀態。

    應用程式會列印以下的輸出結果到主控台中:

    Name: Company Sales
    Description: Adventure Works sales by quarter and product category. This report
    illustrates the use of a matrix data region that provides drilldown from summary
    data into detail data by showing and hiding rows. This report also illustrates
    the use of background images.
    Press any key to continue...
    
  2. 請按任意鍵來關閉 GetPropertiesSample。

請參閱

參考

GetProperties

概念

教學課程:利用 Visual Basic 或 Visual C# 來存取報表伺服器 Web 服務

說明及資訊

取得 SQL Server 2005 協助