Export (0) Print
Expand All

ReportingService2010.ServerInfoHeaderValue Property


Applies To: SQL Server 2016 Preview

Gets or sets the server-related information that represents the version of the report server.

Namespace:   ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

Public Property ServerInfoHeaderValue As ServerInfoHeader

Property Value

Type: ReportService2010.ServerInfoHeader

A ServerInfoHeader object that represents the version of the report server.

Legacy Code Example

Imports System
Imports System.IO
Imports System.Text
Imports System.Web.Services
Imports System.Web.Services.Protocols

Class Sample

    Public Shared Sub Main()

        Dim rs As New ReportingService2010()
        rs.Url = "http://<Server Name>/_vti_bin/ReportServer/" + _
        rs.Credentials = _

            ' Set the server info header 
            rs.ServerInfoHeaderValue = New ServerInfoHeader()

            ' Make a call to the Web service
            Dim items As CatalogItem() = rs.ListChildren("/", True)

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

        Catch e As Exception
        End Try

    End Sub

End Class
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft