Windows Media Services SDK banner art
PreviousNext

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 when the event occurred, expressed in Greenwich mean time.

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 when the total number of connected clients exceeds the number specified by the MaxClients property. This event is never fired unless the AlertEvents property is set to True.

Example

Sub NSUnicastMgr_OnMaxClients(DateTime, Count, VirtualPath)
   ' Message box opens if client limit is exceeded
   MsgBox (Count & " clients exceeded limit at " & DateTime & ".")
End Sub

See Also

MaxClients

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.