Context-Sensitive Menu Sample Steps

This section shows how to add a context-sentive menu for the Servers node in Forefront TMG Management that will list all the adapters for each server in the array. To show the context-sensitive menu, the sample code traverses all the servers in the array, retrieving information about all the adapters on each server. This information is obtained through the administration COM objects. The sample code in this section retrieves information about the servers in the array through the IFPCServers and IFPCServer interfaces, and information about the adapters is retrieved through the IFPCAdapters and IFPCAdapter interfaces.

Note  The Servers node is not available in Forefront TMG Medium Business Edition.

This section includes sample code for the following steps:

  1. Retrieving each server in the array.
  2. Listing all the adapters on each server.
  3. Displaying all the adapters.

Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.