This topic has not yet been rated - Rate this topic

connectionMode (WLANProfile) Element

Applies to: desktop apps only

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.

ValueDescription
autoThe connection to the wireless network should be initiated automatically whenever the network is in range.
manualThe 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

Minimum supported client

Windows Vista, Windows XP with SP3

Minimum supported server

Windows Server 2008

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

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ