Item Method of the IFPCDashboardPerformanceCounters Interface

The Item method retrieves the requested FPCPerformanceCounterEntry object (IFPCPerformanceCounterEntry interface in C++) from the collection.

[C++]

Syntax

HRESULT Item(
		 BSTR Name,
  [out]  IFPCPerformanceCounterEntry** pItem
);

Parameters

Name

A BSTR that indicates the name or one-based index of the object to retrieve.

pItem

Address of an interface pointer that on return points to the IFPCPerformanceCounterEntry interface requested.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]

Syntax

Function Item( _
  ByVal Name As String, _
  ByRef pItem As FPCPerformanceCounterEntry _
) As FPCPerformanceCounterEntry

Parameters

Name

A BSTR that indicates the name or one-based index of the object to retrieve.

pItem

Reference to the requested FPCPerformanceCounterEntry object.

Return Value

This method returns a reference to the FPCPerformanceCounterEntry object requested if successful. Otherwise, an error is raised that can be intercepted by using an error handler.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCDashboardPerformanceCounters


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.