PublicNames Property of the IFPCWebPublishingProperties Interface

The PublicNames property gets an FPCPublicNames collection that contains the public DNS names and IP addresses that are mapped by the rule to the internal name of the published Web site.

C++

HRESULT get_PublicNames(
    IFPCPublicNames** ppPublicNames
);

Parameters

  • ppPublicNames
    Address of an interface pointer that on return points to an IFPCPublicNames interface that represents the collection of the public DNS names and IP addresses that are mapped by the rule to the internal name of the published Web site.

Return Value

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

Visual Basic

Property PublicNames As FPCPublicNames

Property Value

Reference to an FPCPublicNames collection that contains the public DNS names and IP addresses that are mapped by the rule to the internal name of the published Web site.

Remarks

This property is read-only. Public names can be added or removed by calling the methods of the FPCPublicNames collection retrieved (the IFPCPublicNames interface retrieved in C++).

The internal name of the published Web site is specified by the WebSite property.

This property is applicable only if the AllPublicNames property is set to False (VARIANT_FALSE in C++).

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCWebPublishingProperties

Send comments about this topic to Microsoft

Build date: 6/30/2010