Setting a Particle Mesh for the Emitter of NiagaraSystem in C++

The question is actually in the Title:
Does anyone know how to set a Particle Mesh for the Emitter of NiagaraSystem in C++?
Are the Functions SetVariableObject and SetNiagaraVariableObject somehow connected with this task?