Share via


ServerReport.GetServerVersion Method ()

 

Returns the version of the report server.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

public string GetServerVersion()
public:
String^ GetServerVersion()
member GetServerVersion : unit -> string
Public Function GetServerVersion As String

Return Value

Type: System.String

A String value containing the server version information.

Examples

Legacy Code Example

Private Sub Button2_Click(ByVal sender As System.Object, 
    ByVal e As System.EventArgs) Handles Button2.Click
    Debug.WriteLine(ReportViewer1.ServerReport.GetServerVersion)
End Sub

See Also

ServerReport Class
Microsoft.Reporting.WinForms Namespace

Return to top