connectionMode (WLANProfile) Element

The connectionMode (WLANProfile) element indicates whether connection to a wireless LAN should be automatic or initiated by user.

If connectionType is set to ESS, this value can be either auto or manual. The default value is auto if this element is absent.

If connectionType is set to IBSS, this value must be manual.

<xs:element name="connectionMode">
    <xs:simpleType>
        <xs:restriction
            base="string"
        >
            <xs:enumeration
                value="auto"
             />
            <xs:enumeration
                value="manual"
             />
        </xs:restriction>
    </xs:simpleType>
</xs:element>

The connectionMode element is defined by the WLANProfile element.

Remarks

The following table describes the enumeration values.

Value Description
auto The connection to the wireless network should be initiated automatically whenever the network is in range.
manual The connection to the wireless network is only initated upon the explicit request of a user.

 

Examples

To view sample profiles that use the connectionMode element, see Wireless Profile Samples.

Requirements

Requirement Value
Minimum supported client
Windows Vista, Windows XP with SP3 [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Redistributable
Wireless LAN API for Windows XP with SP2

See also

Definition context of element in schema

WLANProfile

Possible immediate parent element in schema instance

WLANProfile