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
SaaSAdminPricingDisableService (Function)
In French: SaaSAdminDésactiveService
Disables a service in a SaaS pricing.
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
P is SaaSPricing dynamic
CRMService is SaaSService dynamic

S = SaaSAdminFindSite("Forum")
P = SaaSAdminFindPricing("Promo 2010", S)
CRMService = SaaSAdminFindService("CRM", S)

// Disables the CRM service for the subscribers of "Promo 2010"
SaaSAdminPricingDisableService(P, CRMService)
Syntax

Disabling a service (via saasxxx variables) Hide the details

<Result> = SaaSAdminPricingDisableService(<Pricing> , <Department>)
<Result>: Boolean
  • True if the disable operation was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Pricing>: saasPricing variable
Name of saasPricing variable corresponding to the pricing to use. The service will be removed from this pricing.
<Department>: saasService variable
Name of saasService variable identifying the service that will be removed from the list of services supplied by the pricing.

Disabling a service identified by its name Hide the details

<Result> = SaaSAdminPricingDisableService(<Pricing> , <Department> , <SaaS Site>)
<Result>: Boolean
  • True if the disable operation was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Pricing>: Character string (with quotes)
Name of pricing. The service will have to be removed from this pricing.
<Department>: Character string (with quotes)
Name of service that will be removed from the list of services supplied by the pricing.
<SaaS Site>: Character string (with quotes)
Name of SaaS site affected by the pricing and service.
Remarks
The service will automatically become unavailable to all subscribers to this pricing.
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