IWMSServer.EnableReverseProxyMode (Visual Basic .NET)

banner art

Previous Next

IWMSServer.EnableReverseProxyMode (Visual Basic .NET)

The EnableReverseProxyMode property specifies and retrieves a Boolean value indicating whether the server sends all requested content to cache and proxy plug-ins.

Syntax

  Server
  .EnableReverseProxyMode = 
  
  Server
  .EnableReverseProxyMode

Property Value

A Boolean value indicating whether all requests for content are sent to cache and proxy plug-ins.

Remarks

By default, the Boolean value is False.

Example Code

  Server As WMSServer
    Dim bVal As Boolean

Try
    ' Create the WMSServer object.
    Server = New WMSServer()

    ' Retrieve a Boolean value indicating whether the
    ' server sends all content to cache proxy plug-ins.
    bVal = Server.EnableReverseProxyMode

    ' Set a Boolean value indicating that the server
    ' should send all content to cache proxy plug-ins.
    Server.EnableReverseProxyMode = True










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