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
Deletes a SaaS subscription.
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
P is SaaSPricing
C is SaaSClient
Sub is SaaSSubscription

S = SaaSAdminFindSite("Forum")
P = SaaSAdminFindPricing("Promo 2010", S)
C = SaaSAdminFindClient("Hybrid")

// Find the subscription to delete
Sub = SaaSAdminFindSubscription(P, C)

// The Hybrid client does no longer subscribe to the Promo 2010 of Forum
SaaSAdminDeleteSubscription(Sub)
Syntax

Deleting a subscription (via saasxxx variables) Hide the details

<Result> = SaaSAdminDeleteSubscription(<Subscription>)
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Subscription>: saasSubscription variable
Name of saasSubscription variable corresponding to the subscription that will be deleted from the SaaS database.

Deleting a subscription identified by the name of associated pricing Hide the details

<Result> = SaaSAdminDeleteSubscription(<Pricing> , <SaaS Site> , <Client Account>)
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Pricing>: Character string (with quotes)
Name of pricing to which the client has subscribed.
<SaaS Site>: Character string (with quotes)
Name of SaaS site that owns the pricing.
<Client Account>: Character string (with quotes)
Name of the client account (or external reference).
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