ITcSysManager2::SetTargetNetId

The SetTargetNetId() method sets the NetId of the current TwinCAT system.

HRESULT SetTargetNetId(STRING netId);

Parameters

netId

represents the target's NetId.

Return Values

S_OK

function returns successfully.