共用方式為


Win32_ConnectionShare class

The Win32_ConnectionShare association WMI class relates a shared resource on the computer and the connection made to the shared resource.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Dynamic, Provider("SessionProvider"), AMENDMENT]
class Win32_ConnectionShare : CIM_Dependency
{
  Win32_Share            REF Antecedent;
  Win32_ServerConnection REF Dependent;
};

Members

The Win32_ConnectionShare class has these types of members:

Properties

The Win32_ConnectionShare class has these properties.

Antecedent

Data type: Win32_Share

Access type: Read-only

Qualifiers: Override (Antecedent), Key

Reference to the instance representing the share to which the connection is made.

Dependent

Data type: Win32_ServerConnection

Access type: Read-only

Qualifiers: Override (Dependent), Key

Reference to the instance representing the server connection to the shared resource.

Remarks

The Win32_ConnectionShare class is derived from CIM_Dependency.

Requirements

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

See also

CIM_Dependency

Operating System Classes