Share via


ServerReport.GetServerVersion メソッド

レポート サーバーのバージョンを返します。

名前空間:  Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll)

構文

'宣言
Public Function GetServerVersion As String
'使用
Dim instance As ServerReport
Dim returnValue As String

returnValue = instance.GetServerVersion()
public string GetServerVersion()
public:
String^ GetServerVersion()
member GetServerVersion : unit -> string 
public function GetServerVersion() : String

戻り値

型: System.String
サーバーのバージョン情報を示す文字列値。

使用例

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

関連項目

参照

ServerReport クラス

Microsoft.Reporting.WinForms 名前空間