Cancel Tenant Registration

CancelTenantMembershipTask (ConsoleTask)

Cancel Tenant Registration task

Element properties:

TargetServiceManager.CloudServices.Tenant
Application
WorkingDirectory
isRequireOutputFalse
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask ID="CancelTenantMembershipTask" Accessibility="Public" RequireOutput="false" Target="CloudServicesLibrary!ServiceManager.CloudServices.Tenant">
<Criteria>/ServiceManager.CloudServices.Tenant/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.TenantManagement</Argument>
<Argument Name="Type">Microsoft.EnterpriseManagement.ServiceManager.CloudServices.TenantManagement.Form.Tasks.CancelTenantMembershipTaskHandler</Argument>
<Argument>Decommission</Argument>
</Parameters>
</ConsoleTask>