PublishedServerType Property of the IFPCWebPublishingProperties Interface

The PublishedServerType property gets or sets a value from the FpcPublishedServerType enumerated type that indicates how requests are to be forwarded to the Web server published by the rule.

[C++]
HRESULT put_PublishedServerType(
	FpcPublishedServerType ServerType
);
HRESULT get_PublishedServerType(
	FpcPublishedServerType* pServerType
);

Parameters

pServerType

Pointer to a value from the FpcPublishedServerType enumerated type that is set on return to one of the following values:

  • fpcWebServerThruHTTP, which indicates that incoming HTTP and HTTPS requests are to be forwarded to the published Web server on the port specified in the HTTPRedirectPort property using the HTTP protocol.
  • fpcWebServerThruSSL, which indicates that incoming HTTP and HTTPS requests are to be forwarded over a secure channel to the published Web server on the port specified in the SSLRedirectPort property using the HTTPS protocol.
  • fpcWebServerThruBothHTTPAndSSL, which indicates that incoming HTTP requests are to be forwarded to the published Web server on the port specified in the HTTPRedirectPort property using the HTTP protocol and that HTTPS requests are to be forwarded over a secure channel to the published Web server on the port specified in the SSLRedirectPort property using the HTTPS protocol.
  • fpcFTPServer, which indicates that incoming FTP requests are to be forwarded to the published Web server on the port specified in the FTPRedirectPort property using the FTP protocol.
ServerType

Value from the FpcPublishedServerType enumerated type that indicates how requests are to be forwarded to the Web server published by the rule.

Return Value

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

[Visual Basic]
Property PublishedServerType As FpcPublishedServerType

Property Value

Value from the FpcPublishedServerType enumerated type. The possible values are:

Remarks

This property is read/write. Its default value is fpcWebServerThruHTTP, which indicates that incoming HTTP and HTTPS requests are to be forwarded to the published Web server on the port specified in the HTTPRedirectPort property using the HTTP protocol.

a Forefront TMG computer performs SSL bridging whenever it terminates or initiates an SSL connection on a segment between a client and the published Web server. The following SSL bridging scenarios are possible:

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCWebPublishingProperties


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.