ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SaaS functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the connection to the common database or to the reference database of the SaaS site.
Remarks:
  • To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
  • The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
Example
S is dynamic saasSite
C is Connection
 
S = SaaSAdminFindSite("Forum")
C = SaaSAdminSiteConnection(S)
 
// Display the reference database of "Forum" SaaS site
Info(C.Database)
Syntax
<Result> = SaaSAdminSiteConnection(<SaaS site>)
<Result>: Connection variable
Connection variable containing the parameters for connecting to the database.
  • If the site is using no database, the returned connection will be empty.
  • If the site uses a database common to all the client accounts, the information for connecting to this database will be returned.
  • If the site is using a database specific to each client account, the information for connecting to the default database will be returned.
<SaaS site>: saasSite variable or character string
Name of the saasSite variable (or site name) that corresponds to the SaaS site for which the connection should be retrieved.
Component: wd290com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help