A link code is something you only get with a brand-new (just taken out of the box) or factory-reset roku. (And these days they may send you an email instead of giving you a link code.)
The code itself soon expires, but once one is linked to your roku account, it should stay linked forever.
What is the model number?