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
Creates the database of a client account for a 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 SaaSClient dynamic

S = SaaSAdminFindSite("Forum")
C = SaaSAdminFindClient("Hybrid")

IF SaaSAdminCreateClientDatabase(S, C) = False THEN
IF SaaSAdminCreateClientDatabase(S, C, False) = False THEN
Error("Unable to create the client database.")
ELSE
Info("The database was created empty.")
END
ELSE
Info("The database was created from the reference database.")
END
Syntax
<Result> = SaaSAdminCreateClientDatabase(<SaaS Site> , <Client Account> [, <Empty Database>])
<Result>: Boolean
  • True if the client database was created,
  • False otherwise. To find out the error details, use ErrorInfo.
<SaaS Site>: saasSite variable or character string (with quotes)
SaaS site (or name of site) whose database must be created.
<Client Account>: saasClient variable or character string (with quotes)
SaaS client account for which the database will be created.
If this parameter is a character string, it can represent the name or the ExternalReference property of client account.
<Empty Database>: Optional boolean
  • False (default value), the reference database will be copied to create the new database.
  • True, the reference database defined for the site will be ignored and an empty database will be created.
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