how to modify animation montage section from code or blueprints

Hello, I was wondering if its possible to change the animation sequence linked to an animation montage section from c++ or blueprints?