Microsoft Internet Security and Acceleration Server 2000

Getting Started with Administration Objects

To start using administration COM objects, set up your development environment using either of the following procedures, depending on whether you use Microsoft Visual BasicĀ® or C++. You must have ISA installed for the procedures to work.

To start using administration objects with Visual Basic

  1. Start Microsoft Visual Basic and open a new Standard EXE project.
  2. On the Project menu, click References.
  3. Select Microsoft Internet Security and Acceleration Server 2000 Administration Library from the dialog box that appears. This library is defined in msfpccom.dll, which is a file included with ISA. Therefore, you need to have ISA installed for access to this library. This will make all the administration COM objects available to you.
  4. Create the root ISA object as described in Creating the Root ISA Object.
  5. Write your program. See Add a Schedule for an introductory example.
  6. To apply your changes, you must call the Save method as described in Saving and Refreshing Objects.

If you are using Visual Basic Scripting Edition (VBScript), and would like to use enumerated types, see Using Enumerated Types in Scripts.

Note  Unless otherwise noted, the examples in this section are written in Visual Basic, but you can use any language to script with the administration objects. If, for example, you script with VBScript, you can use any text editor to create the scripts.

To start using administration objects with C++

Include the file msfpccom.dll by using the following line of code:

#import "msfpccom.dll"

The file msfpccom.idl contains the definitions of the ISA administration objects.

For an example of an administration task performed using C++ code, see Adding a Schedule Using C++.

This section contains the following topics: