TM1SystemServerConnect
| Item |
Description |
|---|---|
| Purpose |
Connects a client to a server. Use this function to start a TM1® session if your IBM® Cognos® TM1 Server is configured for standard TM1 authentication or LDAP authentication. Use TM1SystemServerConnectIntegratedLogin if it is configured for Integrated Login. |
| Definition |
|
| Parameters |
hPool is a long. This TM1 value capsule contains a pool handle. The pool handle is returned by the function TM1ValPoolCreate. sDatabase is a long. This TM1 value capsule contains a string value containing the name of the server. sClient is a long. This TM1 value capsule contains a string value containing the name of the client. sPassword is a long. This TM1 value capsule contains a string value containing the password. |
| Result |
The function returns a handle to the server. This function is part of the API initialization sequence required by every TM1 API program. For more information, see Connecting to the API. |
| Errors |
|
| See Also |