共用方式為


第 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 服務 (SSRS 教學課程)