Win32 Classes


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

class Win32_ConnectionShare : CIM_Dependency
{
  Win32_Share            REF Antecedent;
  Win32_ServerConnection REF Dependent;
};

Methods

The Win32_ConnectionShare class does not define any methods.

Properties

The Win32_ConnectionShare class defines the following properties.

Antecedent
Data type: Win32_Share
Access type: Read-only
Qualifiers: Key

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

Dependent
Data type: Win32_ServerConnection
Access type: Read-only
Qualifiers: Key

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

Remarks

The Win32_ConnectionShare class is derived from CIM_Dependency.

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 clientWindows XP
Minimum supported serverWindows Server 2003
MOFWmipsess.mof
DLLWmipsess.dll
Namespace\root\cimv2

See Also

Operating System Classes

Send comments about this topic to Microsoft

Build date: 11/3/2009

Tags :


Page view tracker