Remove a contract
The /RemoveContract command removes a contract.
Parameters
This command has the following parameters and flags:
Parameter |
Required / Optional | Description |
---|---|---|
/Partner |
Required |
The partner of the contract. |
/Customer | Required | The customer of the contract. |
/Force | Optional | Allows the removal of contracts with an instance if it is not stopped. |
A contract with an associated instance cannot be removed. To remove the instance association, stop the instance first. If it is not possible to stop the instance, the /Force flag can be added to the command to forcefully remove the contract.
Once a contract is deleted, you can create a new contract for the same partner and customer with the /CreateContract command.
Example
The following example demonstrates how the contract belonging to the partner Northwind and the customer Futterkiste can be removed.
ManageCM /RemoveContract /Partner=Northwind /Customer=Futterkiste