Share via


IFPCDialupNetworkConnections::Item method

Applies to: desktop apps only

The Item method retrieves the requested dial-up connection entry from the collection.

Syntax

HRESULT Item(
  [in]  long Index,
  VARIANT *pItem
);
FPCDialupNetworkConnections.Item( _
  ByVal Index As Long, _
  ByVal pItem As VARIANT _
) As Variant

Parameters

  • Index [in]
    Required. One-based index of the entry to retrieve.

  • pItem
    Pointer to a VARIANT that is set on return to the name of the entry requested, or to –1 if the entry specified by the Index parameter does not exist.

Return value

C++

This method can return one of the following:

  • S_OK, indicating that the operation succeeded.
  • An error code, indicating that the operation failed. In this case, the [out] parameter returned is –1.

VB

Returns a Variant that contains the name of the entry requested, or –1 if the entry specified by the Index parameter does not exist.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCDialupNetworkConnections

 

 

Build date: 7/12/2010