The original switch port configuration will be maintained (trunk, access, vlans, etc).
Things like layer 3 interfaces, spanning tree priority, etc will be wiped. Things that you configure across the whole switch.
So in summary, port style config is kept, switch style config is lost.