Deletes a Shop Policy from the Database
[Visual Basic] Public Sub DeletePolicy( _ ByVal ShopPolicy As ShopPolicy _ ) [C#] public void DeletePolicy( ShopPolicy ShopPolicy ); [C++] public: void DeletePolicy( ShopPolicy* ShopPolicy ); [JScript] public function DeletePolicy( ShopPolicy ShopPolicy );
Policies can only be deleted if there are no Mandators bound to it.
Exception Type | Condition |
---|---|
InvalidConstraintException | Indicates that there are still Mandators bound to this ShopPolicy |
InvalidCredentialException | Indicates that no Authorization Context was provided |
ShopManagement Class | ppm3dakClient.Shop Namespace | ShopManagement.DeletePolicy Overload List | ShopPolicy Mandators