OnAdminFileBitRateLimit Event

Indicates the file bit-rate limit was changed.

Syntax

NSUnicastMgr_OnAdminFileBitRateLimit( datetime, status, ipaddress, maxFileBitRate )

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.

ipaddress

A String value specifying the administrator's IP address.

maxFileBitRate

A Long value specifying the new file bit-rate limit in bits-per-second.

Remarks

This event is called whenever an administrative client sets the MaxFileBitRate property. To receive notification of this event, the AdminEvents property must first be set to TRUE.

Example

Sub NSUnicastMgr_OnAdminFileBitRateLimit( time, hr, ip, rate )
  MsgBox( "maximum file bit rate is" & rate )
End Sub
 ' event on next line opens message box
NSUnicastMgr1.MaxBandwidth = 3000

See Also

MaxFileBitRate, OnMaxFileBitRate

© 1996-1998 Microsoft Corporation. All rights reserved.