IWMSServerLimits.IncomingBandwidth (C#)

banner art

Previous Next

IWMSServerLimits.IncomingBandwidth (C#)

The IncomingBandwidth property specifies and retrieves the maximum bandwidth allocated by the server for incoming connections.

Syntax

  ServerLimits
  .IncomingBandwidth
  
  =
  
  int
  ;

  int =
  
  ServerLimits
  .IncomingBandwidth;

Property Value

int containing the maximum allocated bandwidth, in Kbps.

If this property fails, it throws an exception.

Number Description
0x80070057 int is an invalid argument.

Remarks

None.

Example Code

using Microsoft.WindowsMediaServices.Interop;
using System.Runtime.InteropServices;











    // Retrieve the IWMSServerLimits object for the server.
    ServerLimits = Server.Limits;















Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows ServerĀ 2003 family, Windows ServerĀ 2008 family.

See Also

Previous Next