online source control
back to content
sign up free version control plan

ISAWHAppObject::SetConnectionType

Description

Sets the connection type.

Syntax

long SetConnectionType(
 
     Enum_ConnectionType ConnectionType
);

Parameters

ConnectionType
[in] Specifies the connection type, such as Local Connection, Broad Band Connection and Narrow Band Connection.

Return Value

If the method succeeds, returns 0. If the method fails, returns other error codes.

See Also

Sample

VB Sample:

Dim WithEvents sdkObject As SAWHSDKLib.SAWHAppObject

Set sdkObject = New SAWHSDKLib.SAWHAppObject

Private Sub SetConnectionType_Click()

	sdkObject.SetConnectionType Enum_BroadBandConnection
	
End Sub