HRESULT SetWebSiteAndPorts (
FpcPublishRouteTypeAction, BSTR sWebSite, long lHTTPRedirectPort, long lFTPRedirectPort,longlSSLRedirectPort);
Parameters
Action
The FpcPublishRouteType
value that indicates whether the Web publishing rule calls for
redirection. If this has a value of fpcRouteDiscard, the
sWebSite parameter should be set to an empty string. If this
has a value of fpcRouteRedirect, the sWebSite
parameter cannot be an empty string.
sWebSite
String value specifying the Web site to which to redirect. The
default value for sWebSite is an empty string. If
Action has a value of fpcRouteRedirect, the sWebSite
parameter cannot be an empty string.
lHTTPRedirectPort
Long value specifying the HTTP redirect port. The default value
is 80.
lFTPRedirectPort
Long value specifying the FTP redirect port. The default value
is 21.
lSSLRedirectPort
Long value specifying the SSL redirect port. The default value
is 443.