Click or drag to resize
ICoreApiIsPossibleToChangePackage Method
Determines whether it is possible to change package for an account.

Namespace: Atomia.Provisioning.Service
Assembly: Atomia.Provisioning.Service (in Atomia.Provisioning.Service.dll) Version: 17.3.6337.16014
Syntax
bool IsPossibleToChangePackage(
	out GroupOfServiceToDelete2[] serviceToDelete,
	out ProvisioningPackageExtension[] packageExtensionsToDelete,
	out int totalNumberOgGroup,
	int pageNumber,
	int pageSize,
	string accountId,
	ProvisioningPackage package,
	string newPackageName
)

Parameters

serviceToDelete
Type: Atomia.Provisioning.BaseGroupOfServiceToDelete2
Array of groups of services which need to be deleted in order to change package.
packageExtensionsToDelete
Type: Atomia.Provisioning.BaseProvisioningPackageExtension
The package extensions to delete.
totalNumberOgGroup
Type: SystemInt32
Number of service groups.
pageNumber
Type: SystemInt32
The page number.
pageSize
Type: SystemInt32
Size of the page.
accountId
Type: SystemString
Owner account id.
package
Type: Atomia.Provisioning.BaseProvisioningPackage
The package instance to change.
newPackageName
Type: SystemString
Name of the new package.

Return Value

Type: Boolean
True, if package change is possible, or false if not. If change is not possible serviceToDelete is filled with services which need to be delete in order to be able to change package.
See Also