Share via


FormsService.AllowEmbeddedSqlForDataConnections Property

Gets or sets a value indicating whether embedded SQL authentication can be used by browser-enabled form templates.

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

Syntax

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

value = instance.AllowEmbeddedSqlForDataConnections

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

Property Value

Type: System.Boolean

Remarks

When the AllowEmbeddedSqlForDataConnections property is false, connecting to a SQL database using a connection string with embedded SQL credentials will fail. When true, the SQL connection string is allowed. This property corresponds to the Allow embedded SQL authentication 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