Count

Description

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.

Syntax

ret = Count

Parameters
ret Integer, output

 

Remarks

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