Partager via


IFsrmReportJob.Formats Property

 

Retrieves or sets an array of formats that determine the content format of the reports.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

object[] Formats { get; set; }
property array<Object^>^ Formats {
    array<Object^>^ get();
    void set(array<Object^>^ value);
}
abstract Formats : Object[] with get, set
Property Formats As Object()

Property Value

Type: System.Object[]

Returns a Object that contains an array of report formats to generate. Each element of the SAFEARRAY is a VARIANT of type VT_I4. Set the lVal member of the variant to the report format. For possible values, see the _FsrmReportFormat enumeration.

Remarks

Each report in the job is generated in each of the specified formats.The file name extension is based on the format. The extension for DHTML is ".html", the extension for HTML is ".htm", the extension for TXT is ".txt", the extension for CSV is ".csv", and the extension for XML is ".xml".

If the report type is FsrmReportType_ExportReport, you can specify only the FsrmReportFormat_Csv and FsrmReportFormat_Xml formats. The report is not run if one or both of these formats are not specified. Other formats are ignored.

See Also

IFsrmReportJob Interface
Microsoft.Storage Namespace

Return to top