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 está realizando una encuesta en línea para comprender su opinión del sitio web de. Si decide participar, se le presentará la encuesta en línea cuando abandone el sitio web de.

¿Desea participar?