This is a property and not a method. This property contains the number of PASSPORT WEB TO HOST and/or PASSPORT PC TO HOST sessions that are currently open and connected to a host session.
ret = Count
ret | Integer, output |
This is a property of the PASSMAC.DLL object. This property is provided by PASSPORT and is not part of VBScript.
Example
Sub
ZMain()
Dim strText, nRet
Dim nSessionCount
nSessionCount = Count
strText = "Number of Sessions = " & nSessionCount
nRet = MsgBox (strText, 0, "Number of Sessions")
End Sub