This interface is exposed from Script Server, a 3-tier client-side DSS component, which can be gotten from a 3-tier session object. The user should have DssPrivilegesUseServerAdmin privilege and Write access right on the Server to use the methods of this interface.
Public Member Functions | |
HRESULT | CancelRequest ([in] Int32 JobID,[in, defaultvalue(0)] Int32 Flag) |
Cancel the request job This method is used to cancel a request on a server. | |
HRESULT | GetRequestResult ([in] Int32 JobID,[in, defaultvalue(0)] Int32 Flag,[out, optional] Int32 *pNumberOfRemainingItems,[out, optional] Int32 *pNumberOfItems,[out, optional] VARIANT *pResultIDs,[out, optional] VARIANT *pResultCodes,[out, optional] VARIANT *pReportResultXMLs,[out, optional] VARIANT *pReportGraphResults) |
Poll results of a request from the server This method is used to poll results of a request from a server. | |
HRESULT | ReportView ([in] BSTR ReportID,[in, defaultvalue(1)] VARIANT *pAttributeIndex,[in, optional] BSTR GraphViewSettingXML,[in, defaultvalue(0)] Int32 Locale,[in, defaultvalue(0)] Int32 Flag,[out, retval] IDSSReportView ppReportView) |
Ask for running a report with PageBy ready. | |
HRESULT | SendRequest ([in] BSTR ReportID,[in] Int32 NumberOfItems,[in] VARIANT *pResultIDs,[in, optional] VARIANT *pUserIDs,[in, optional] VARIANT *pUserIDIndexes,[in, optional] VARIANT *pResolutionXMLs,[in, optional] VARIANT *pResolutionXMLIndexes,[in, optional] VARIANT *pFilterXMLs,[in, optional] VARIANT *pFilterXMLIndexes,[in, optional] BSTR GraphViewSettingXML,[in, defaultvalue(0)] Int32 Locale,[in, defaultvalue(0)] Int32 Flag,[out, retval] Int32 *pJobID) |
Send a request to the server. |
|
Cancel the request job This method is used to cancel a request on a server. Each call of this method will kill all items from the original request, and cancel the request as a whole.
|
|
Poll results of a request from the server This method is used to poll results of a request from a server. Each call of this method will collect the results of these items that were finished and not been retrieved. If it fails, an error will be returned.
|
|
Ask for running a report with PageBy ready. This property is used to ask DSS Server to run a base report with PageBy ready on an attribute row or column. The result is the base report with PageBy ready on an attribute. The caller uses a long-value index to indicate which attribute row or column. If the row or column is not an attribute, an error will be returned.
|
|
Send a request to the server. If it succeeds, a JobID will be returned, which is used to poll the results of this request, or to monitor the job, or to cancel the job. If it fails, an error will be returned.
|