The following table describes the contents of the source file used in the sample plug-in.
Source file
Description
VBDBLoggingPlugin.vb
This file implements all the functionality of the sample plug-in by implementing the IWMSBasicPlugin interface and the IWMSEventNotificationPlugin interface. The VBDBLoggingPlugin.OnEvent method retrieves the command context of the client request and uses the user-defined GetStringFromNSSBuffer and LogToDb functions to log client activity to a SQL database.