共用方式為


SMS_ProductFileInfo Server WMI Class

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

The SMS_ProductFileInfo Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a combination of file and product information for inventory and metering.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_ProductFileInfo : SMS_BaseClass
{
      String CompanyName;
      String FileDescription;
      UInt32 FileID;
      String FileName;
      UInt32 FileSize;
      String FileVersion;
      UInt32 ProductLanguage;
      String ProductName;
      String ProductVersion;
};

Methods

The SMS_ProductFileInfo class does not define any methods.

Properties

  • CompanyName
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name of the company that made the file, taken from the Company property of the file version resources.

  • FileDescription
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Description of the file, taken from the file version resources.

  • FileID
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [key]

    Auto-incremented key.

  • FileName
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name of the file.

  • FileSize
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Size of the file.

  • FileVersion
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    File version of the file, taken from the file version resources.

  • ProductLanguage
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Language of the product.

  • ProductName
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Product name.

  • ProductVersion
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Product version, taken from the file version resources.

Remarks

There are no special class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

This class provides the source for the FileID foreign key property in other classes. When a file is metered, information about the file is sent with the process execution information. This is a subset of the information that is reported by software inventory. The common information that is shared between software inventory and software metering is represented by this class, which lists every file known to the operating system.

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

Software Metering Server WMI Classes