HsvReports Type Library Overview

The HsvReports type library contains one object, the HsvReports object. Use the HsvReports object to execute Reporting-related features such as getting report information and maintaining reports.

The HsvReports object is a child of the HsvSession object. Use HsvSession’s Reports property to assign HsvReports object references as shown in the following example:

  Dim cHsvReports As HsvReports
  Set cHsvReports = cHsvSession.Reports

The following table lists the methods of the HsvReports object.

Table 30. HsvReports Object Methods

Method

Description

CheckReportSecurityClass

Indicates whether the connected user has either Read or All access rights to a report’s security class.

CheckReportSecurityClass2

Indicates whether the connected user has a given level of access rights to a report’s security class.

CheckSecurityRole

Indicates whether the connected user is assigned to the security role that enables users to save reports of a given report type.

DeleteDocuments

Deletes documents from the application server

DeleteReport

Deletes a report from the application server.

DeleteReports

Deletes one or more reports from the application server.

EnumDocuments

Returns the names, descriptions, timestamps, and security class IDs of documents that meet the search criteria.

EnumDocumentsEx

Returns the names, descriptions, timestamps, security class IDs, privacy flags, folder content types, owners, file types, and document types of documents that meet the search criteria. You can also filter for public or private documents.

EnumReports

Returns the names, descriptions, and timestamps of reports on the application server.

GetDocument

Returns the definition of a document, as well as the document’s security class ID and description. The document definition is returned as an array of bytes.

GetDocumentEx

Returns the definition of a document, as well as other properties such as the document’s type, file type, and security class.

GetReport

Returns the definition of a report, as well as the report’s security class ID and description. The report definition is returned as an array of bytes.

SaveDocument

Saves a document to the application server.

SaveDocumentEx

Saves a document to the application server and specifies the document’s content type and privacy flag.

SetReport

Saves a report to the application server.

ValidateMembersAgainstSlice

For internal use.

For detailed descriptions of these methods, see HsvReports Type Library.