Edit

Share via


Application.MachineOnlineState Property

Definition

Gets the current connection state of the client computer.

public:
 abstract property Microsoft::Office::InfoPath::MachineState MachineOnlineState { Microsoft::Office::InfoPath::MachineState get(); };
public abstract Microsoft.Office.InfoPath.MachineState MachineOnlineState { get; }
member this.MachineOnlineState : Microsoft.Office.InfoPath.MachineState
Public MustOverride ReadOnly Property MachineOnlineState As MachineState

Property Value

One of the MachineState values.

Examples

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())

Remarks

Note: To get the same functionality when using the FormControl , use the MachineOnlineState property of the NetworkState class.

This member can be accessed without restrictions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

Applies to