ReportingService2005.ServerInfoHeaderValue 속성

The server-related information that represents the version of the report server.

네임스페이스:  ReportService2005
어셈블리:  ReportService2005(ReportService2005.dll)

public ServerInfoHeader ServerInfoHeaderValue { get; set; }

속성 값

유형: ReportService2005.ServerInfoHeader
A ServerInfoHeader object that represents the version of the report server.

To compile the following code example, you must reference the Reporting Services WSDL and import certain namespaces. For more information, see Compiling and Running Code Examples. The following code example makes a call to the Web service and then retrieves server information from the SOAP header:

using System;

class Sample
   static void Main()
      // Create proxy object and set service credentials to integrated
      ReportingService2005 rs = new ReportingService2005();
      rs.Credentials = System.Net.CredentialCache.DefaultCredentials;

         // Set the server info header 
         rs.ServerInfoHeaderValue = new ServerInfoHeader();

         // Make a call to the Web service
         CatalogItem[] items = rs.ListChildren("/", false);

         // Output the server version and edition to the console
         Console.WriteLine("Server version: {0}", 
         Console.WriteLine("Server edition: {0}", 

      catch (Exception e)

커뮤니티 추가 항목