BACK TO INDEX

Win32_ShareToDirectory
The Win32_ShareToDirectory class represents an association between a shared resource on the computer system and the directory to which it is mapped.
NameSpace Path
\ROOT\CIMV2
PROPERTYSMS_REPORTCIMTYPEDESCRIPTION
ShareReferenceThe Share reference represents the properties of a shared resource available through the directory.
SharedElementReferenceThe SharedElement reference represents the properties of the directory that has been mapped to a shared resource.
SAMPLE DATA INSTANCE
   [LOCALE(1033): ToInstance Amended]
   instance of Win32_ShareToDirectory
   {
    Share = "\\\\SCCM01\\root\\cimv2:Win32_Share.Name=\"SMSPKGC$\"";
    SharedElement = "\\\\SCCM01\\root\\CIMV2:Win32_Directory.Name=\"c:\\\\smspkgc$\"";
   };