Partilhar via


Método ServerReport.GetServerVersion

Returns the version of the report server.

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
Public Function GetServerVersion As String
public string GetServerVersion()
public:
String^ GetServerVersion()
member GetServerVersion : unit -> string 
public function GetServerVersion() : String

Valor de retorno

Tipo: String
A string value containing the server version information.

Exemplos

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

Consulte também

Referência

ServerReport Classe

Namespace Microsoft.Reporting.WebForms