In Configuration Manager 2007, the FileType complex type defines a file part including discovery information to identify one or more instances of a file system file.

<xs:complexType name="FileType">
	<xs:complexContent>
		<xs:extension
			base="PartType"
		>
			<xs:sequence>
				<xs:element name="Path"
					type="FilePathType"
				 />
					<xs:element name="Filter"
						type="FileFilterType"
					 />
				<xs:element
					ref="Permissions"
				 />
				<xs:element name="PropertyRules"
					type="FilePropertiesType"
				 />
				<xs:any
					processContents="skip"
					minOccurs="0"
					maxOccurs="unbounded"
					namespace="##other"
				 />
			</xs:sequence>
			<xs:attribute name="ValidatePermissions"
				type="boolean"
				use="required"
			 />
			<xs:attribute name="Depth"
				type="SearchDepthType"
				use="optional"
			 />
			<xs:attribute name="Is64Bit"
				type="boolean"
				use="required"
			 />
			<xs:attribute name="IsPerUser"
				type="boolean"
				use="optional"
			 />
		</xs:extension>
	</xs:complexContent>
</xs:complexType>

Child Elements

Element Type Description

Filter

FileFilterType

The name of the file. This can include the FileSystem wildcards ? and *.

Path

FilePathType

The path to the file, not including the name or trailing backslash. For example, for the file c:\path\file.ext, the path would be c:\path.

PropertyRules

FilePropertiesType

Grouping element for containing the list of validation rules associated with this file part. List of file properties on which rules can be specified. See type for details.

Attributes

Name Type Description

LogicalName

tns:LogicalName

A unique name that is used to identify the file part in the document.

Depth

SearchDepthType

The search scope to use:

"Base" is just the exact file as defined by the given Path and Filter child elements. This is the default if no depth is specified.

"OneLevel" means to just match against the immediate files under the directory specified in the Path, based on the Filter child element.

"Subtree" means to match against all files under all directories pointed to by the Path child element, that match the Filter child element.

Is64Bit

Boolean

On a 64-bit application, indicates whether the file being discovered resides in a redirected or a native path.

Windows on Windows (WOW) redirection on 64-bit applications is described in the MSDN documentation for File System Redirector (http://go.microsoft.com/fwlink/?LinkID=111713).

If the value is set to false and the Path element that is specified contains a path eligible for redirection on 64-bit applications, the redirected location is searched and then the native location is searched.

If the value is set to true, only the native location is searched.

On 32-bit applications, this flag has no effect.

ValidatePermissions

boolean

Set to true if the child Permissions element has been specified and permissions must be validated against the effective discretionary access control lists (DACLs) on the file instance.

If set to false, permissions are not validated, even if specified in the Permissions child element.

See Also


Send comments about this topic to Microsoft.