PublishedServer Property of the IFPCWebPublishingProperties2 Interface

The PublishedServer property gets or sets the name or IP address of the published server.

C++

HRESULT put_PublishedServer(
    BSTR bstrPublishedServer
);
HRESULT get_PublishedServer(
    BSTR* pbstrPublishedServer
);

Parameters

  • bstrPublishedServer
    BSTR that specifies the name or IP address of the published server.

  • pbstrPublishedServer
    Pointer to a BSTR that is set on return to a string value specifying the name or IP address of the published server.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property PublishedServer As String

Property Value

String that specifies the name or IP address of the published server.

Remarks

This property is read/write.

The computer name or IP address of a single published server or load balancer must be specified in this property only if the internal site name specified in the WebSite property is not resolvable or is not the computer name or IP address of the computer that hosts the published Web site.

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