Skip to main content
MI_Operation_GetSession function

Gets the session associated with an operation.

Syntax


 MI_INLINE MI_Result MI_Operation_GetSession(
  _In_   MI_Operation *operation,
  _Out_  MI_Session *session
);

Parameters

operation [in]

Operation handle returned from an instance session operation.

session [out]

Returned session that was used to create the operation. Copy of the parent session that initiated the operation.

Remarks

This function is useful in a result asynchronous callback if a new operation needs to be initiated against the same session.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Redistributable

Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

Header

Mi.h

 

 

Microsoft réalise une enquête en ligne pour comprendre votre opinion sur le site Web de. Si vous choisissez de participer, l’enquête en ligne vous sera présentée lorsque vous quitterez le site Web de.

Souhaitez-vous y participer ?