Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCReportJob::SetPublishing[C++]

FPCReportJob.SetPublishing [Visual Basic]

[C++]

The SetPublishing method sets the EnablePublishing and PublishDirectory properties.

HRESULT SetPublishing(
  VARIANT_BOOL fEnablePublishing,
  BSTR bstrPublishDirectory
);

Parameters

fEnablePublishing
[in] Boolean value that specifies whether the report can be published (saved to a directory).
bstrPublishDirectory
[in, optional] String value that specifies the directory to which the report job will be saved. The default is an empty (NULL) string.

Return Values

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

The SetPublishing method sets the EnablePublishing and PublishDirectory properties.

Sub SetPublishing( _
  ByVal fEnablePublishing As Boolean, _
  [ ByVal bstrPublishDirectory As String ] _
)

Parameters

fEnablePublishing
[in] Boolean value that specifies whether the report can be published (saved to a directory).
bstrPublishDirectory
[in, optional] String value that specifies the directory to which the report job will be saved. The default is an empty (NULL) string.

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

FPCReportJob