CIM_DirectoryContainsFile class

The CIM_DirectoryContainsFile class represents an association between a directory and files contained within that directory.

Important

The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Dynamic, Provider("CIMWin32"), UUID("{6F9D4740-8324-11d2-AAD9-006008C78BC7}"), AMENDMENT]
class CIM_DirectoryContainsFile : CIM_Component
{
  CIM_DataFile  REF PartComponent;
  CIM_Directory REF GroupComponent;
};

Members

The CIM_DirectoryContainsFile class has these types of members:

Properties

The CIM_DirectoryContainsFile class has these properties.

GroupComponent

Data type: CIM_Directory

Access type: Read-only

Qualifiers: Key, Override ("GroupComponent"), Max (1)

A CIM_Directory that describes the directory.

PartComponent

Data type: CIM_DataFile

Access type: Read-only

Qualifiers: Key, Override ("PartComponent")

A CIM_DataFile that describes the LogicalFile contained within the directory.

Remarks

WMI implements the CIM_DirectoryContainsFile class, which is a dynamic class.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

CIM_Component