RasConnection.GetSubEntryHandle Method

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Retrieves a connection handle for a subentry of a multilink connection.

Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
public RasHandle GetSubEntryHandle(
	int subEntryId
)
Visual Basic
Public Function GetSubEntryHandle ( 
	subEntryId As Integer
) As RasHandle
Visual C++
public:
RasHandle^ GetSubEntryHandle(
	int subEntryId
)
F#
member GetSubEntryHandle : 
        subEntryId : int -> RasHandle 

Parameters

subEntryId
Type: System..::..Int32
The one-based index of the subentry to whose handle to retrieve.

Return Value

Type: RasHandle
The handle of the subentry if available, otherwise a null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
System..::..ArgumentException subEntryId cannot be less than or equal to zero.

See Also