IGPMSOM::GetGPOLinks method (gpmgmt.h)

Returns a GPMGPOLinksCollection object that contains the GPO links for the scope of management (SOM). The collection is sorted in the SOM link order and contains both enabled and disabled links. See IGPMGPOLink for the definition of SOM link order.

Syntax

HRESULT GetGPOLinks(
  [out] IGPMGPOLinksCollection **ppGPOLinks
);

Parameters

[out] ppGPOLinks

Address of a pointer to an IGPMGPOLinksCollection interface.

Return value

C++

Returns S_OK if successful. Returns a failure code if an error occurs.

JScript

Returns a reference to a GPMGPOLinksCollection object.

VB

Returns a reference to a GPMGPOLinksCollection object.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See also

IGPMGPOLink

IGPMGPOLinksCollection

IGPMSOM