The WebSite property gets or sets the internal name of the Web site to which the rule redirects requests.
HRESULT put_WebSite( BSTR bstrWebSite ); HRESULT get_WebSite( BSTR* 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.
BSTR that specifies the internal name of the Web site to which the rule redirects requests.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property WebSite As String
String that specifies the internal name of the Web site to which the rule redirects requests.
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.
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. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.