Report.Generate Method
NOTE: This API is now obsolete.
Generates a report.
Namespace: Microsoft.Office.RecordsManagement.Reporting
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
<ObsoleteAttribute("Please use GetReportData.", False)> _
Public Function Generate ( _
query As Hashtable _
) As Byte()
'Usage
Dim instance As Report
Dim query As Hashtable
Dim returnValue As Byte()
returnValue = instance.Generate(query)
[ObsoleteAttribute("Please use GetReportData.", false)]
public byte[] Generate(
Hashtable query
)
Parameters
query
Type: System.Collections.HashtableA hash table containing the static field names and values used in this report. You should use the AuditReport and WorkflowReport classes to generate this hash table.
Return Value
Type: []
An encoded XML byte array containing the report.