다음을 통해 공유


FilePropertiesType Complex Type

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 2007, the FilePropertiesType complex type identifies the set of properties exposed by a file part against which rules can be set to validate their values on target computers.

  • Size
    The size of the file in bytes.
  • DateCreated
    The creation DateTime of the file.
  • DateModified
    The last modified DateTime of the file.
  • Version
    The version information of the file. This is limited to the four part file version.
  • Company
    The manufacturer information of the file.
  • ProductName
    The name of the product to which the file belongs.
  • SHA1Hash
    The hexBinary encoded SHA1 hash of the file contents. Note that only the default NTFS stream is used in calculating the hash.
  • Attributes
    The attributes of the file as defined by the FolderAndFileAttributesEnumeration type.
<xs:complexType name="FilePropertiesType">
  <xs:sequence>
    <xs:group
      ref="FolderAndFileCommonPropertiesGroup"
     />
    <xs:element name="Size">
      <xs:complexType>
        <xs:sequence
          minOccurs="0"
          maxOccurs="unbounded"
        >
          <xs:element
            ref="Rule"
           />
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="Version">
      <xs:complexType>
        <xs:sequence
          minOccurs="0"
          maxOccurs="unbounded"
        >
          <xs:element
            ref="Rule"
           />
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="Company">
      <xs:complexType>
        <xs:sequence
          minOccurs="0"
          maxOccurs="unbounded"
        >
          <xs:element
            ref="Rule"
           />
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="ProductName">
      <xs:complexType>
        <xs:sequence
          minOccurs="0"
          maxOccurs="unbounded"
        >
          <xs:element
            ref="Rule"
           />
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="SHA1Hash">
      <xs:complexType>
        <xs:sequence
          minOccurs="0"
          maxOccurs="unbounded"
        >
          <xs:element
            ref="Rule"
           />
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:any
        processContents="skip"
        minOccurs="0"
        maxOccurs="unbounded"
        namespace="##other"
     />
  </xs:sequence>
</xs:complexType>

Child Elements

Element Type Description

Company

 

The company metadata from a file.

ProductName

 

The name of the product to which the file belongs.

SHA1Hash

 

The hexBinary encoded SHA1 hash of the file contents. Note that only the default NTFS stream is used in calculating the hash.

Size

 

The size of the file in bytes.

Version

 

The version information of the file. This is limited to the four-part file version.

See Also

Concepts

Authoring Desired Configuration Management Configuration Baselines and Configuration Items