With the AddPortGroup and UpdatePortGroup methods in the SDK it's not too obvious how to configure the Nic Teaming.
This document shows how to get exactly the Nic Teaming settings you want.