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

[Association, Dynamic, Provider("CIMWin32"), UUID("{8502C511-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
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, MappingStrings ("WMI|Win32_Share")

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, MappingStrings ("CIM|CIM_Directory")

Reference to the instance representing the properties of the directory that has been mapped to a shared resource.

Requirements

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

See also

Operating System Classes