OnMaxBandwidth Event

Indicates the aggregate bandwidth limit was reached.

Syntax

NSUnicastMgr_OnMaxBandwidth( datetime, rate, VirtualPath )

Parameters

datetime

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

rate

A Long value specifying the current aggregate bandwidth limit.

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 sum of all client bandwidth use exceeds the amount specified by the MaxBandwidth property. To receive notification of this event, the AlertEvents property must first be set to TRUE.

Example

Sub NSUnicastMgr_OnMaxBandwidth(datetime, rate, vp)
  ' message box opens if bandwidth limit is exceeded
  MsgBox( "maximum bandwidth of " & rate & " exceeded at " & datetime )
End Sub

See Also

MaxBandwidth, MaxFileBitRate, OnMaxFileBitRate

© 1996-1998 Microsoft Corporation. All rights reserved.