Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCBackupRoute::SetAutoPollConfig[C++]

FPCBackupRoute.SetAutoPollConfig [Visual Basic]

[C++]

The SetAutoPollConfig method sets the configuration for automatic polling of the upstream proxy server on the backup route for array configuration information.

HRESULT SetAutoPollConfig(
  VARIANT_BOOL fSetAuto,
  BSTR AutoPollUrl
);

Parameters

fSetAuto
[in] Boolean value that indicates whether polling of the upstream proxy server on the backup route for array configuration information is enabled.
AutoPollUrl
[in, optional] BSTR that specifies the URL, usually at the upstream proxy, to poll for the array configuration information. If fSetAuto is set to VARIANT_TRUE, this parameter must hold a valid URL; otherwise, this parameter is ignored.

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.
[Visual Basic]

The SetAutoPollConfig method sets the configuration for automatic polling of the upstream proxy server on the backup route for array configuration information.

Sub SetAutoPollConfig( _
  ByVal fSetAuto As Boolean, _
  [ ByVal AutoPollUrl As String ] _
)

Parameters

fSetAuto
[in] Boolean value that indicates whether polling of the upstream proxy server on the backup route for array configuration information is enabled.
AutoPollUrl
[in, optional] String value that specifies the URL, usually at the upstream proxy server, to poll for the array configuration information. If fSetAuto is set to True, this parameter must hold a valid URL; otherwise, this parameter is ignored.

Return Values

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCBackupRoute