IWMSServer.Limits (Visual Basic .NET)
Previous | Next |
IWMSServer.Limits (Visual Basic .NET)
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
Imports Microsoft.WindowsMediaServices.Interop Imports System.Runtime.InteropServices Private Sub GetServerLimits() ' Declare variables. Dim Server As WMSServer Dim ServerLimits As IWMSServerLimits Try ' Create the WMSServer object. Server = New WMSServer() ' Retrieve the IWMSServerLimits ' object for the server. ServerLimits = Server.Limits Catch excCom As COMException ' TODO: Handle COM exceptions. Catch exc As Exception ' TODO: Handle errors. Finally ' TODO: Clean-up code goes here. End Try End Sub
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 |