MdmSessionManager.GetSessionById(String) Method

Definition

Gets the MDM session's information given the session's ID.

public:
 static MdmSession ^ GetSessionById(Platform::String ^ sessionId);
 static MdmSession GetSessionById(winrt::hstring const& sessionId);
public static MdmSession GetSessionById(string sessionId);
function getSessionById(sessionId)
Public Shared Function GetSessionById (sessionId As String) As MdmSession

Parameters

sessionId
String

Platform::String

winrt::hstring

The string value of the MDM session ID.

Returns

The MdmSession corresponding to the provided session ID.

Applies to