Hi,
In order to forbid the user disconnect a connector you should apply the following protections to it:
NAbilities protection = connector.Protection;
protection.ChangeStartPoint = true;
protection.ChangeEndPoint = true;
protection.MoveX = true;
protection.MoveY = true;
connector.Protection = protection;
Best Regards,
Nevron Support Team