Skip to content

Latest commit

 

History

History
105 lines (71 loc) · 2.79 KB

win32-sharetodirectory.md

File metadata and controls

105 lines (71 loc) · 2.79 KB
description ms.assetid ms.tgt_platform title ms.topic ms.date topic_type api_name api_type api_location
The Win32\_ShareToDirectory association WMI class relates a shared resource on the computer system and the directory to which it is mapped.
f8562539-2cb4-4661-8ef9-8b665e76a292
multiple
Win32_ShareToDirectory class
reference
05/31/2018
APIRef
kbSyntax
Win32_ShareToDirectory
Win32_ShareToDirectory.Share
Win32_ShareToDirectory.SharedElement
DllExport
CIMWin32.dll

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

Requirement Value
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