NetworkOperatorNotificationEventDetails.AuthorizeTethering | authorizeTethering method

Applies to Windows only

Used to indicate if tethering is permitted for a device. If it is not, a reason can be provided.

Syntax


Public Sub AuthorizeTethering(
  allow As Boolean,  
  entitlementFailureReason As String 
)

Parameters

allow

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

true if tethering is permitted; otherwise, false.

entitlementFailureReason

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The reason tethering is not permitted.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.winmd

See also

NetworkOperatorNotificationEventDetails

 

 

Show:
© 2014 Microsoft