Win32_SessionProcess class
The Win32_SessionProcess association WMI class represents an association between a logon session and the processes associated with that session.
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
class Win32_SessionProcess : Win32_SessionResource
{
Win32_LogonSession REF Antecedent;
Win32_Process REF Dependent;
};
Members
The Win32_SessionProcess class has these types of members:
Properties
The Win32_SessionProcess class has these properties.
- Antecedent
-
- Data type: Win32_LogonSession
- Access type: Read-only
- Qualifiers: Key
Reference to the instance that represents the session related to the process. This property is inherited from CIM_Dependency.
- Dependent
-
- Data type: Win32_Process
- Access type: Read-only
- Qualifiers: Key
Reference to the instance that represents the process associated with the session. This property is inherited 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 client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012