第 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 教程)