If you get married before you retire, your partner is automatically entitled to the partner's pension. The Dutch municipal administration will inform the pension fund of the marriage.
If you get married abroad, you should register your partner with the pension fund, as they will be entitled to a partner's pension.