WebSite Property of the IFPCWebPublishingProperties Interface

The WebSite property gets or sets the internal name of the Web site to which the rule redirects requests.

[C++]
HRESULT put_WebSite(
	BSTR bstrWebSite
);
HRESULT get_WebSite(
	BSTR* pbstrWebSite
);

Parameters

pbstrWebSite

Pointer to a BSTR that is set on return to a string value specifying the internal name of the Web site to which the rule redirects requests.

bstrWebSite

BSTR that specifies the internal name of the Web site to which the rule redirects requests.

Return Value

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

[Visual Basic]
Property WebSite As String

Property Value

String that specifies the internal name of the Web site to which the rule redirects requests.

Remarks

This property is read/write. It must be set before the properties of a new Web publishing rule can be written to persistent storage by calling the Save method.

The name specified in this property is typically the name that internal users supply to reach the Web site. For a rule that publishes a single Web server or a load balancer, the computer name or IP address of the published server must be specified in the PublishedServer property if the internal site name specified in this property is not resolvable or is not the computer name or IP address of the computer that hosts the published Web site. For a rule that publishes a server farm, an internal site name specified in this property should be chosen with consideration of the following.

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.

[an error occurred while processing this directive]