Win32_SubDirectory class
The Win32_SubDirectory association WMI class relates a directory (folder) and one of its subdirectories (subfolders).
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.
Syntax
class Win32_SubDirectory : CIM_Component
{
Win32_Directory REF GroupComponent;
Win32_Directory REF PartComponent;
};
Members
The Win32_SubDirectory class has these types of members:
Properties
The Win32_SubDirectory class has these properties.
- GroupComponent
-
- Data type: Win32_Directory
- Access type: Read-only
- Qualifiers: Key
Reference to the instance representing the properties of the parent directory (folder) in this association.
- PartComponent
-
- Data type: Win32_Directory
- Access type: Read-only
- Qualifiers: Key
Reference to the instance representing the subdirectory (subfolder) part of the association.
Remarks
The Win32_SubDirectory class is derived from CIM_Component.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012