Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The EnableReverseProxyMode property specifies and retrieves a Boolean value indicating whether the server sends all requested content to cache and proxy plug-ins.
Server.EnableReverseProxyMode = BooleanBoolean = 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
Imports Microsoft.WindowsMediaServices.Interop
Imports System.Runtime.InteropServices
Private Sub GetSetProxyMode()
' Declare variables.
Dim 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
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.