The Content Deployment Samples directory contains a number of samples written in Microsoft® Visual Basic® and Visual Basic Scripting Edition (VBScript). The Visual Basic sample directory contains the EventSink sample. This sample demonstrates how to create a simple event sink that logs events to a file. It uses the SiteServerEventSink and SiteServerEvent objects. See the Readme.txt files for further information.
The VBScript sample directory contains the ASP and WSH subdirectories. The WSH directory contains the Crstool.vbs script, which is a VBScript tool offering similar functionality to the Content Deployment command-line tool, Sscd.exe, and demonstrates many of the newer methods. You can perform a number of Content Deployment tasks using Crstool.vbs. To get assistance in using Crstool.vbs or Sscd.exe, invoke it with the help or /? option.
Besides the requisite Readme.txt file, the ASP directory contains a number of Active Server Pages that you can use to perform the following tasks:
File name | Description |
Default.asp | Web page with buttons to run the other ASP files. |
Code.asp | Routines to initialize the server and display errors. |
EditServ.asp | Lists the server parameters. |
EnumRep.asp | Lists the replications. |
ProjCreate.asp | Creates an example project. |
ProjDel.asp | Deletes the example project. |
ProjList.asp | Lists the projects. |
ProjStats.asp | Gets the statistics for the current projects. |
RteCreate.asp | Creates an example route. |
RteDel.asp | Deletes the example route. |
RteList.asp | Lists the routes. |
ServCtrl.asp | Starts, stops, pauses, or continues the service. |