Chapter 28. WebProbeV2 Object

Table of Contents

Connect
Close
GetError
SetTmpImagePath
CleanImageCache
DrawGraph
DrawWorkspace
GetWorkspaces
GetGraphs
GetDevices
GetAlarmTargets
GetTargetInfo
GetAlarmTargetInfo
AlarmStateHistory
GetElementInfo
Request
GetLogLines
GetLogFiles

Connect

RetVal=Connect()

Description Connect a Named-Pipe to the Net-Probe Service. The pipes name and location is found in the Registry under HKLM\SOFTWARE\NetProbe\WebProbe\PipePath. The service will create the Named-Pipe found at HKLM\SOFTWARE\NetProbe\NetProbeService\PipePath when it starts. The object will attempt to open a connection by itself, if any attempt is made to connect to the service but the pipe is not connected.
Arguments
None 
Return Value A return value of zero means the connection was established. Any other value means there was a problem. GetError method may offer more info as to the problem.

Copyright (c) Warren Flemmer 2006www.net-probe.com