Share via


Export Method in Class SMS_SoftwareProductCompliance

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

In Configuration Manager, the Export Windows Management Instrumentation (WMI) class method exports program compliance information from the database in tab-delimited format. It also returns the number of valid records that were exported.

Note

The filter process is case-insensitive. Do not include either filter (SourceFilter or TypeFilter) if you want to import all the compliance data.

UInt32 Export(
     String ComplianceData,
     String SourceFilter,
     String TypeFilter
);

Parameters

  • ComplianceData
    Data type: String

    Qualifiers: [out]

    Tab-delimited compliance data. The data is a null-terminated string and each record terminates with a carriage return and line feed character.

  • SourceFilter
    Data type: String

    Qualifiers: [in, optional]

    Source filter causing the method to export only those records that match the Source property.

  • TypeFilter
    Data type: String

    Qualifiers: [in, optional]

    Type filter causing the method to export only those records that match the compliance Type property.

Return Values

A UInt32 data type that indicates the number of valid records exported.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Concepts

SMS_SoftwareProductCompliance Server WMI Class