PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the connection to the common database or to the reference database of SaaS site.
Notes:
  • To use this function, a SaaS management session must have been started beforehand by SaaSAdminConnect.
  • Versions 16 and later
    The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
    New in version 16
    The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
    The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
Example
S is SaaSSite dynamic
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 (with quotes)
Site (or name of site) whose connection must be retrieved.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Linux wd230com.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment