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 InfoPath Forms Services Configuration page of the Central Administration site.

See Also

Reference

FormsService Class

FormsService Members

Microsoft.Office.InfoPath.Server.Administration Namespace