Share via


IWMSServer.Limits (C#)

banner art

Previous Next

IWMSServer.Limits (C#)

The Limits property retrieves an IWMSServerLimits object that contains the limits specified for the server.

Syntax

  IWMSServerLimits = IWMSServer.Limits;

Property Value

An IWMSServerLimits object.

Remarks

This property is read-only. For more information about server limits, see the IWMSServerLimits object.

Example Code

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









    // Retrieve the IWMSServerLimits
    // object for the server.
    ServerLimits = Server.Limits;
}
catch (COMException comExc) {
    // TODO: Handle COM exceptions.
}
catch (Exception e) {
    // TODO: Handle exceptions.
}

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