<div class="content"><p>The SessionId (Get) method retrieves the SessionId property,
as specified in the property table in section <a href="94e049b9-532a-4c3a-ada2-43c75802e825" data-linktype="relative-path">3.2.4.9</a>.</p><dl>
<dd>
<div><pre> [propget] HRESULT SessionId(
   [out, retval] ULONG64* id
 );
</pre></div>
</dd></dl><p><b>id: </b>Receives the session identifier. Only the
lower 2 bytes of the id value are specified; therefore, the valid range of
these lower 2 bytes is from 0x0000 to 0x003F. The upper 6 bytes of the id MUST
be ignored. </p><p><b>Return Values: </b>This method MUST return an
HRESULT with the severity bit clear on success as specified in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>;
otherwise, it MUST return one of the errors as defined in <a href="590752a5-ddc3-49e4-9914-147a90bd0193" data-linktype="relative-path">2.2.1</a> or one of the errors
as defined in [MS-ERREF] section <a href="../ms-erref/0642cb2f-2075-4469-918c-4441e69c548a" data-linktype="relative-path">2.1</a>.</p></div>