ServerReport.GetServerVersion Method
Returns the version of the report server.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
Public Function GetServerVersion As String
'Usage
Dim instance As ServerReport
Dim returnValue As String
returnValue = instance.GetServerVersion
public string GetServerVersion ()
public:
String^ GetServerVersion ()
public String GetServerVersion ()
public function GetServerVersion () : String
Return Value
A String value containing the server version information.
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
Reference
ServerReport Class
ServerReport Members
Microsoft.Reporting.WinForms Namespace