Share via


FormsService.RequireSslForDataConnections property

Gets or sets the Secure Sockets Layer (SSL) requirement value.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Property RequireSslForDataConnections As Boolean
    Get
    Set
'Usage
Dim instance As FormsService
Dim value As Boolean

value = instance.RequireSslForDataConnections

instance.RequireSslForDataConnections = value
public bool RequireSslForDataConnections { get; set; }

Property value

Type: System.Boolean
true if SSL is required for data connections; false if not.

Remarks

The default value of the RequireSslForDataConnections is true. If the credential type contained in the Universal Data Connection (UDC) file is basic or digest, the connection will fail if RequireSslForDataConnections is true and the connection URL does not begin with "https". If false, all connections will succeed regardless of the protocol.

This property corresponds to the Require SSL for HTTP authentication to data sources setting on the Configure InfoPath Forms Services page of the Central Administration site.

See also

Reference

FormsService class

FormsService members

Microsoft.Office.InfoPath.Server.Administration namespace