OpenServer

Description: Opens a connection to a specified HSF Server.

Pre-requisites: CreateSession(), OpenServer(), OpenDatabase() and OpenCube().

Syntax

  • Visual Basic

    Public Sub OpenServer( _ 
       ByVal sessionID As String,  _ 
       ByVal server As String _ 
    )
  • C#

    public void OpenServer(
       string sessionID, 
       string server
    )
  • C++

    public:
     void OpenServer(
       String sessionID, 
       String server
    ) sealed 
  • JScript

    public  function OpenServer(
       sessionID : String, 
       server : String
    )

Parameters

Table 4. OpenServer Parameters

ParameterData TypeDescription
sessionIDstringA session identifier
serverstringAn HSF server name

Returns

  • void

    Success

  • Error message

    Failure

Example

See IncomeStatement.aspx.