HWSAdapter Object

Microsoft Office InfoPath

Show All Show All

HWSAdapter Object

Represents a connection to submit form information to a Microsoft Biztalk 2004 HWS (Human Workflow Services) server.

Remarks

Note  This object model member is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Service Pack 1 or later is not installed. Any form that implements this object model member in its code will generate an error message if it is opened in InfoPath when service pack features are disabled or unavailable.

Using the HWSAdapter object

The HWSAdapter object contains the following properties:

Property Description
Name Returns the name of an HWSAdapter object.
QueryAllowed Corresponds to the queryAllowed attribute in the form definition file (.xsf). Always returns False for the HWSAdapter object.
SubmitAllowed Corresponds to the submitAllowed attribute in the form definition file (.xsf). Always returns True for the HWSAdapter object.

The HWSAdapter object contains the following methods:

Method Description
Query Because the HWSAdapter object is available for submitting data only, this method will always generate a run-time error when it is called on that object.
Submit Executes the submit operation on the associated adapter.