Win32_ShareToDirectory class
The Win32_ShareToDirectory association WMI class relates a shared resource on the computer system and the directory to which it is mapped.
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_ShareToDirectory
{
Win32_Share REF Share;
CIM_Directory REF SharedElement;
};
Members
The Win32_ShareToDirectory class has these types of members:
Properties
The Win32_ShareToDirectory class has these properties.
- Share
-
- Data type: Win32_Share
- Access type: Read-only
- Qualifiers: Key
Reference to the instance representing the properties of a shared resource available through the directory.
- SharedElement
-
- Data type: CIM_Directory
- Access type: Read-only
- Qualifiers: Key
Reference to the instance representing the properties of the directory that has been mapped to a shared resource.
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