Share via


ExcelService.GetSessionInformation Method

Gets the run-time properties for the Excel Calculation Services session.

Namespace:  Microsoft.Office.Excel.Server.WebServices
Assembly:  Microsoft.Office.Excel.Server.WebServices (in Microsoft.Office.Excel.Server.WebServices.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub GetSessionInformation ( _
    sessionId As String, _
    <OutAttribute> ByRef serverVersion As String, _
    <OutAttribute> ByRef uiCultureNameUsed As String, _
    <OutAttribute> ByRef dataCultureNameUsed As String, _
    <OutAttribute> ByRef status As Status() _
)
'Usage
Dim instance As ExcelService
Dim sessionId As String
Dim serverVersion As String
Dim uiCultureNameUsed As String
Dim dataCultureNameUsed As String
Dim status As Status()

instance.GetSessionInformation(sessionId, _
    serverVersion, uiCultureNameUsed, _
    dataCultureNameUsed, status)
[WebMethodAttribute]
public void GetSessionInformation(
    string sessionId,
    out string serverVersion,
    out string uiCultureNameUsed,
    out string dataCultureNameUsed,
    out Status[] status
)

Parameters

  • sessionId
    Type: System.String

    The Excel Web Services session ID.

  • serverVersion
    Type: System.String

    The Excel Calculation Services version string.

  • uiCultureNameUsed
    Type: System.String

    The UI culture used in the session. Examples: en-US, en-GB, fr-FR, ko-KR, ms-MY, ur, hu, ja-JP. Use Empty string or Null when not applicable.

  • dataCultureNameUsed
    Type: System.String

    The data culture used in the session. Examples: en-US, en-GB, fr-FR, ko-KR, ms-MY, ur, hu, ja-JP. Use Empty string or Null when not applicable.

  • status
    Type: []

    Alert information.

Remarks

Returns various properties of the session.

See Also

Reference

ExcelService Class

ExcelService Members

Microsoft.Office.Excel.Server.WebServices Namespace