Microsoft Internet Security and Acceleration Server 2004 SDK |
The SaveAsHtml method saves a report to the specified folder in HTML format.
HRESULT SaveAsHtml( BSTR bstrDirectory, BSTR UserName, BSTR Password );
This method returns S_OK if the call is successful; otherwise, it returns an error code.
The name of the folder in which the report will be saved consists of the report name from the Name property, the start date in mm.dd.yyyy format from the StartDate property, and the end date in mm.dd.yyyy format from the EndDate property in the form Name_(mm.dd.yyyy-mm.dd.yyyy). For example, if this property is set to D:\Reports, the name of the report is MyReport, the report covers the period from July 10, 2004 to July 12, 2004, the full path of the folder where the report will be saved will be D:\Reports\MyReport_(07.10.2004-07.12.2004).
The SaveAsHtml method saves a report to the specified folder in HTML format.
Sub SaveAsHtml( _ ByVal bstrDirectory As String, _ [ ByVal UserName As String ], _ [ ByVal Password As String ] _ )
This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
The name of the folder in which the report will be saved consists of the report name from the Name property, the start date in mm.dd.yyyy format from the StartDate property, and the end date in mm.dd.yyyy format from the EndDate property in the form Name_(mm.dd.yyyy-mm.dd.yyyy). For example, if this property is set to D:\Reports, the name of the report is MyReport, the report covers the period from July 10, 2004 to July 12, 2004, the full path of the folder where the report will be saved will be D:\Reports\MyReport_(07.10.2004-07.12.2004).
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.