MdmSessionManager.GetSessionById(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.