Compartilhar via


FormsService.AllowUserFormCrossDomainDataConnections Property

Gets or sets the value that indicates whether data connections to data sources located in a different domain can be queried.

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

Syntax

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

value = instance.AllowUserFormCrossDomainDataConnections

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

Property Value

Type: System.Boolean
true if cross-domain data connections are allowed.

Remarks

The default value of the AllowUserFormCrossDomainDataConnections property is false. A form template with a Domain security level cannot use a data connection if the data source is in another domain, even if the data connection information is stored in a trusted Universal Data Connection (UDC) file.

See Also

Reference

FormsService Class

FormsService Members

Microsoft.Office.InfoPath.Server.Administration Namespace