XmlFormView.XsnLocation property

Gets or sets the URL that specifies the location of the form template.

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

Syntax

'Declaration
<PersonalizableAttribute> _
<WebBrowsableAttribute(True)> _
Public Property XsnLocation As String
    Get
    Set
'Usage
Dim instance As XmlFormView
Dim value As String

value = instance.XsnLocation

instance.XsnLocation = value
[PersonalizableAttribute]
[WebBrowsableAttribute(true)]
public string XsnLocation { get; set; }

Property value

Type: System.String
A URL that specifies the location of the form template

Remarks

This value can be set only when the EditingStatus of the form is not "Editing." Attempts to set the XsnLocation property when the form is currently being edited will result in an error.

See also

Reference

XmlFormView class

XmlFormView members

Microsoft.Office.InfoPath.Server.Controls namespace