PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Modifies the connection to the client database for a 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
// The Hybrid company is already a client of SaaS Forum site
S is dynamic saasSite
C is saasClient dynamic
S = SaaSAdminFindSite("Forum")
C = SaaSAdminFindClient("Hybrid")
 
// Association with a new database
NewDatabase is Connection
NewDatabase = SaaSAdminClientConnection(S, C)
NewDatabase.Database = "Forum_Hybrid_2010"
 
// Modifies the parameter for connecting to the client database
SaaSAdminModifyClientConnection(S, C, NewDatabase)
 
// Create the new client database from the reference database
SaaSAdminCreateClientDatabase(S, C)
Syntax
<Result> = SaaSAdminModifyClientConnection(<SaaS site> , <Client account> , <Connection>)
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<SaaS site>: saasSite or String variable
SaaS site affected by the modification.
<Client account>: saasClient or String variable
SaaS client account (or name of client account) to modify.
<Connection>: Connection variable
Name of Connection variable containing the new parameters for connecting to the database.
Component: wd280com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment