OnMaxClients Event

Indicates the limit to the maximum number of simultaneously connected clients was reached.

Syntax

NSUnicastMgr_OnMaxClients( datetime, count, VirtualPath )

Parameters

datetime

A Date value indicating the time the event occurred, expressed in Greenwich Mean Time (GMT).

count

A Long value specifying the current number of clients.

VirtualPath

A String value specifying the alias of the virtual root that caused the limit to be exceeded. A NULL value indicates a system-wide limit has been exceeded.

Remarks

This event is called the total number of connected clients exceeds the amount specified by the MaxClients property. To receive notification of this event, the AlertEvents property must first be set to TRUE.

Example

Sub NSUnicastMgr_OnMaxClients(datetime, count, vp)
   ' message box opens if client limit is exceeded
   MsgBox( count & " clients exceeded limit at " & datetime )
End Sub

See Also

MaxClients

© 1996-1998 Microsoft Corporation. All rights reserved.