Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCScheduledContentDownload::Add[C++]

FPCScheduledContentDownload.Add [Visual Basic]

[C++]

The Add method creates a new FPCScheduledContentDownloadConfig object in the collection and returns a reference to it.

HRESULT Add(
  BSTR Name,
  BSTR URL,
  IFPCScheduledContentDownloadConfig** ppNewScheduledContentDownloadConfig
);

Parameters

Name
[in] Required. BSTR that specifies the name of the content download job.
URL
[in] Required. BSTR that specifies the URL from which content is to be fetched.
ppNewScheduledContentDownloadConfig
[out] Address of an interface pointer that on return points to the new IFPCScheduledContentDownloadConfig interface created.

Return Values

This method can return one of the following:

Remarks

The content download job created can run only if:

In addition, downloaded content can be stored in the ISA Server cache only if a cache drive with a size (CacheLimitInMegs) greater than zero is configured.

[Visual Basic]

The Add method creates a new FPCScheduledContentDownloadConfig object in the collection and returns a reference to it.

Function Add( _
  ByVal Name As String, _
  ByVal URL As String _
) As FPCScheduledContentDownloadConfig

Parameters

Name
[in] Required. String that specifies the name of the new content download job.
URL
[in] Required. String that specifies the URL from which content is to be fetched.

Return Values

This method returns a reference to an FPCScheduledContentDownloadConfig object if successful. Otherwise, an error is raised that can be intercepted by using an error handler.

Remarks

The content download job created can run only if:

In addition, downloaded content can be stored in the ISA Server cache only if a cache drive with a size (CacheLimitInMegs) greater than zero is configured.

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

FPCScheduledContentDownload