XmlFormView.XsnLocation Property
Gets or sets the URL that specifies the location of the form template.
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
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.