Application.MachineOnlineState Property (Microsoft.Office.InfoPath)
Gets the current connection state of the client computer.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property MachineOnlineState As MachineState
'Usage
Dim instance As Application
Dim value As MachineState
value = instance.MachineOnlineState
public abstract MachineState MachineOnlineState { get; }
Property Value
One of the MachineState values.
Remarks
This member can be accessed without restrictions.
This type or member can be accessed only from code running in forms opened in Microsoft Office InfoPath 2007.
Example
In the following example, the MachineOnlineState property is used to display the current connection state of the client computer.
MessageBox.Show(this.Application.MachineOnlineState.ToString());
MessageBox.Show(Me.Application.MachineOnlineState.ToString())
See Also
Reference
Application Class
Application Members
Microsoft.Office.InfoPath Namespace