This sample provides a command line interface to the COM+ Administration Interfaces. To use it, simply run it through a windows scripting host. Simply supply arguments to the command line to have it get or set properties available in the Administration Interfaces. For a full listing of the arguments available, run it with the /? option.
An example command line that will read the Changeable property from the System Application would look like:
wscript comadmin.vbs /get /localhost /application "System Application" /property "Changeable"
To view the argument options, open the script comadmin.vbs in notepad or your favorite editor.
Filename | Description |
COMAdmin.vbs | This script is the sample. It can be opened as a text document to see how to interact with COM+ Administration Interfaces via a script. |
This sample does not require any building. It does require you to have access to a scripting host.
For more examples of using the COM+ Administration Interfaces see the Explore project (VB or VC++)
For more information see COM+ Administration Reference on MSDN