src/MediaServices/MediaServicesRestProxy.php
public function deleteProgram($program)
    {
        $op = $this->sendDeleteProgramOperation($program);

        // waiting for delete operation finishes
        $op = $this->awaitOperation($op);

        // true if succeeded
        return $op->getState() == OperationState::Succeeded;
    }
public function deleteProgram($program)
    {
        $op = $this->sendDeleteProgramOperation($program);

        // waiting for delete operation finishes
        $op = $this->awaitOperation($op);

        // true if succeeded
        return $op->getState() == OperationState::Succeeded;
    }
public function deleteProgram ( $ program ) { $ op = $ this -> sendDeleteProgramOperation ( $ program ) ; // waiting for delete operation finishes $ op = $ this -> awaitOperation ( $ op ) ; // true if succeeded return $ op -> getState ( ) == OperationState :: Succeeded ; }
Delete a Program.

@param Program|string $program Program data or program Id

@return bool true if succeeded
Delete a Program .