What is the script code for reflection probe on a script gameobject?

Hi,
I have this but it didn’t accept the PROBE(reflection probe in the scene).

-------myObject…GetComponent().probeAnchor = PROBE;--------

but it didn’t accept the PROBE(reflection Probe in the scene).

Thanks,

Ok found it

-------myObject…GetComponent().probeAnchor = PROBE.transform;-------