Cancel Cloud Resources Subscription

CancelSubscriptionTask (ConsoleTask)

Element properties:

TargetServiceManager.CloudServices.VMMCloudResourcesSubscription
Application
WorkingDirectory
isRequireOutputFalse
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask ID="CancelSubscriptionTask" Accessibility="Public" RequireOutput="false" Target="CloudServicesLibrary!ServiceManager.CloudServices.VMMCloudResourcesSubscription">
<Criteria>/ServiceManager.CloudServices.VMMCloudResourcesSubscription/Status/@Value='ServiceManager.CloudServices.StatusEnum.Active'</Criteria>
<Assembly>Console!SdkDataAccessAssembly</Assembly>
<Handler>Microsoft.EnterpriseManagement.UI.SdkDataAccess.ConsoleTaskHandler</Handler>
<Parameters>
<Argument Name="Assembly">Microsoft.EnterpriseManagement.ServiceManager.CloudServices.SubscriptionManagement</Argument>
<Argument Name="Type">Microsoft.EnterpriseManagement.ServiceManager.CloudServices.SubscriptionManagement.Forms.Tasks.CancelSubscriptionTaskHandler</Argument>
</Parameters>
</ConsoleTask>