Microsoft Internet Security and Acceleration Server 2004 SDK |
To start using the 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, at a minimum, the administration tools of ISA Server installed for the procedures to work. Example code for creating administration scripts in Visual Basic Scripting Edition (VBScript), including step-by-step examples, is provided in ISA Server Administration Script Samples.
To start using the administration COM objects with Visual Basic
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 COM objects. If, for example, you script with VBScript, you can use any text editor to create the scripts.
Include the file Msfpccom.dll by using the following line of code:
#import "%SystemDrive%\Program Files\Microsoft ISA Server 2004\msfpccom.dll"
The file Msfpccom.idl contains the definitions of the ISA Server administration COM objects.
For an example of an administration task performed using C++ code, see Adding a Schedule Using C++.
To start using the administration COM objects with C++
This section contains the following topics: