Indicates that the aggregate bandwidth limit was changed.
Syntax
NSUnicastMgr_OnAdminBandwidthLimit( datetime, status, ipaddress, maxBandWidth, VirtualPath)
Parameters
datetime
A Date value indicating the time the event occurred, expressed in Greenwich mean time (GMT).
status
A Long value specifying the HRESULT passed back when this event is fired. A value of S_OK (0) indicates success.
ipaddress
A String value specifying the administrator's IP address. If the connection is to LocalHost, this value will be 0.0.0.0, and the connection will be made to the computer on which the script is running.
maxBandWidth
A Long value specifying the new bit-rate limit in bits per second.
VirtualPath
A String value specifying the alias of the virtual root that caused the limit to be exceeded. A NULL value (or empty string in Visual Basic) indicates a system-wide limit has been exceeded.
Remarks
This event is called whenever an administrative client sets the MaxBandwidth property. To receive notification of this event, the AdminEvents property must first be set to TRUE.
Example
Sub NSUnicastMgr_OnAdminBandwidthLimit( time, status, ip, mbw, vp )
MsgBox( "set by " & ip & " to " & mbw & "bps" )
End Sub
' event on next line opens message box
NSUnicastMgr1.MaxBandwidth = 123456
See Also
© 1996-1998 Microsoft Corporation. All rights reserved.