Deleting a team, Changing the mode of a team, Changing an adapter's priority within a team – Dell Intel PRO Family of Adapters User Manual

Page 47: Uninstalling an adapter

Advertising
background image

PreCheck is available.

Requires an Apply call before operation is executed.

To remove an adapter from a team, delete the IANet_TeamedMemberAdapter instance that associates the adapter to the

team using IWbemServices::DeleteInstance(). If this action fails, check IANet_ExtendedStatus for the error code.

Back to Top

Deleting a Team

Deleting a team:

Requires Session Handle.

PreCheck is available.

Requires an Apply call before operation is executed.

To delete a team, delete the IANet_TeamOfAdapters instance using IWbemServices::DeleteInstance(). If this action fails,

check IANet_ExtendedStatus to get the error code.

Back to Top

Changing the Mode of a Team

Changing the mode of a team:

Requires Session Handle.

PreCheck is available.

Requires an Apply call before operation is executed.

To change the mode of a team, get the instance of IANet_TeamOfAdapters for the team (e.g., use

IWbemServices::GetObject using the object path of the team). Then, use IWbemClassObject::Put to change the

TeamMode attribute for the team. Finally, call IWbemClassObject:: PutInstance to tell the WMI Provider to update the

team mode, passing the flag WBEM_FLAG_UPDATE_ONLY. If this action fails, check IANet_ExtendedStatus to get the error

code.

Back to Top

Changing an Adapter's Priority within a Team

Changing an adapter's priority within a team:

Requires Session Handle.

PreCheck is available.

Requires an Apply call before operation is executed.

To change the priority of an adapter, the client should first get the instance of IANet_TeamedMemberAdapter for the adapter.

(e.g. use IWbemServices::GetObject using the object path). The client can then use IWbemClassObject::Put to change

the AdapterFunction attribute for the adapter. Finally the client needs to call IWbemClassObject:: PutInstance to tell the

WMI Provider to update the adapter's priority. If this action fails, the client should check the IANet_ExtendedStatus for the

error code.

Back to Top

Uninstalling an Adapter

Uninstalling an adapter:

Requires Session Handle.

PreCheck is available.

Requires an Apply call before operation is executed.

47

Advertising