enableRemoteSampling(samplingHandle: Integer; n: Node);
The enableRemoteSampling method of the System class enables the sampling of statistics on the node specified in the n parameter.
This method includes the node in the sampling group of the context identified in the samplingHandle parameter. (The sampling handle is the identifier of the sampling context, returned by the beginSampleGroupDefinition method when sampling started.)
Use the System class disableRemoteSampling method to disable the sampling of statistics on the specified node (that is, take the specified node out of the sample definition group of the context identified in the samplingHandle parameter).
For more details, see