Windows Media Services SDK banner art
PreviousNext

OnAdminFileBitRateLimit Event

Indicates the file bit-rate limit was changed.

Syntax

NSUnicastMgr_OnAdminFileBitRateLimit( DateTime, Status, IPAddress, MaxFileBitRate )

Parameters

DateTime

A Date value indicating when the event occurred, expressed in Greenwich mean time.

Status

A Long value specifying the HRESULT error code passed back when this event is fired.

IPAddress

A String value specifying the IP address of the computer running the Admin control.

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. This event is never fired unless the AdminEvents property is set to True.

Example

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

See Also

MaxFileBitRate, OnMaxFileBitRate

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.