FormsService.IsUserFormTemplateBrowserEnabled Method

Returns a boolean value that indicates if a form template is browser-enabled.

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

Syntax

'Declaration
Public Function IsUserFormTemplateBrowserEnabled ( _
    file As SPFile _
) As Boolean
'Usage
Dim instance As FormsService
Dim file As SPFile
Dim returnValue As Boolean

returnValue = instance.IsUserFormTemplateBrowserEnabled(file)
public bool IsUserFormTemplateBrowserEnabled(
    SPFile file
)

Parameters

Return Value

Type: System.Boolean
true if there is a hash and it matches the hash of the form template; false if there is no hash or if the hash fails to match the hash of the form template.

See Also

Reference

FormsService Class

FormsService Members

Microsoft.Office.InfoPath.Server.Administration Namespace