GetName Method of the IFWXNetworkElement Interface

The GetName method retrieves the name of the network element.

Syntax

HRESULT GetName(
  [out]  BSTR* pBstrName
);

Parameters

pBstrName

Pointer to the name of the network element.

Return Value

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

Remarks

Free the memory allocated for pBstrName by using SysFreeString. For recommendations about memory allocation for BSTR strings, see Best Practices.

Requirements

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

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXNetworkElement


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.