Welcome to 101 Guitar Licks. This lick is in the key of C minor. This will definitely be useful in a jazz context, but will also work over Malmsteen-type metal.
The hammer-on and pull-off markings are included as suggestions only. If these techniques aren't your style, feel free to pick every note. Have fun! --DP
Listen to audio of this lick: 80bpm 120bpm 208bpm