LookupNetworkElementByGuid Method of the IFWXNetConfigDetectionSnapshot Interface

The LookupNetworkElementByGuid method retrieves an IFWXNetworkElement interface that represents the Forefront TMG network identified by the specified GUID.

Syntax

HRESULT LookupNetworkElementByGuid(
  [in]   GUID* pguidNetworkElement,
  [out]  IFWXNetworkElement** ppNetworkElement
);

Parameters

pguidNetworkElement

Globally unique identifier (GUID) of the Forefront TMG network to look up.

ppNetworkElement

Address of an interface pointer that on return points to an IFWXNetworkElement interface that represents the Forefront TMG network identified by the specified GUID.

Return Value

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

Requirements

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXNetConfigDetectionSnapshot


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.