This should only be set before it is actually added to the node. If Orientation is Vertical, this actually refers to the "top" side, not the "left" side. This property is also set by InsertLeftPort and InsertRightPort.
Changing this value will automatically set the IsValidFrom and IsValidTo properties in the standard manner.