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