Share via


WebServiceAdapter2.Timeout property

Gets or sets the time-out value in seconds for a WebServiceAdapterObject object.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Property Timeout As Integer
    Get
    Set
'Usage
Dim instance As WebServiceAdapter2
Dim value As Integer

value = instance.Timeout

instance.Timeout = value
int Timeout { get; set; }

Property value

Type: System.Int32

Remarks

The default value of the Timeout property is 30 seconds.

See also

Reference

WebServiceAdapter2 interface

WebServiceAdapter2 members

Microsoft.Office.Interop.InfoPath namespace