COM+ Administration

## Administration

#### Overview

The Administration samples are demonstration applications to help you understand how to write scripts and programs to perform COM+ administration. The Explore\ subdirectory contains the Explore sample which demonstrates how to use the COM+ 1.0 Administration interfaces. Additional information on COMAdmin objects and COM+ Administration interfaces can be found in the Platform SDK documentation.

#### Explore Sample (VC & VB)

The Explore sample demonstrates how to use the admin objects to do the following:

- navigating collections (including adding and removing objects and changing properties)
- exporting and installing applications
- importing and integrating components into applications
- and controlling the router on the machine
- writing Start and Stop applications
- connecting to different machines to administer their COM objects

View the VC Explore Sample readme.
View the VB Explore Sample readme.

#### Spy Sample

The Spy\ subdirectory contains a Visual C++ sample event sink that shows you how to log the activity of COM components. Refer to the COM+ documentation for more details. Please refer to the build notes in the Spy feature topic readme; the sample must be compiled in a specific order.

View the Spy Sample readme.

#### TransactAdmin

The TransactAdmin sample provides an example of using the COMAdmin objects to administer COM+ applications inside a transaction.

View the Spy Sample readme.

#### WHSUtil Sample

This sample provides a command line interface to the COM+ Administration Interfaces. WSHUtil is also script based and uses the Windows Scripting Host

View the WHSUtil Sample readme.