Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: desktop apps only
The GetName method retrieves the name of the network element.
Syntax
HRESULT GetName(
[out] BSTR *pBstrName
);
Parameters
- pBstrName [out]
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
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
Header |
Wspfwext.idl |
DLL |
Wspsrv.exe |
See also
Build date: 7/12/2010