FormsService.AllowUserFormWebServiceProxy(Uri, Boolean) FormsService.AllowUserFormWebServiceProxy(Uri, Boolean) FormsService.AllowUserFormWebServiceProxy(Uri, Boolean) FormsService.AllowUserFormWebServiceProxy(Uri, Boolean) Method

Definition

Controls whether a form opened in the InfoPath client can use the InfoPath Forms Services Web service proxy to connect to a Web service.

public:
 void AllowUserFormWebServiceProxy(Uri ^ webApplicationUri, bool enable);
public void AllowUserFormWebServiceProxy (Uri webApplicationUri, bool enable);
member this.AllowUserFormWebServiceProxy : Uri * bool -> unit
Public Sub AllowUserFormWebServiceProxy (webApplicationUri As Uri, enable As Boolean)

Parameters

webApplicationUri
Uri Uri Uri Uri

The Uniform Resource Indicator (URI) of the SharePoint Web application associated with the Web service proxy, and located between the farm, but above the site collection level. For more information, see SPWebApplication.

enable
Boolean Boolean Boolean Boolean

The boolean value which enables or disables the use of the proxy.

Remarks

Use the AllowWebServiceProxy(Uri, Boolean) method to allow browser-enabled form templates to use the proxy service. Default setting is false.

Applies to