Process.SessionId Property
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 Terminal Services session identifier for the associated process.
public:
property int SessionId { int get(); };
public int SessionId { get; }
member this.SessionId : int
Public ReadOnly Property SessionId As Integer
Property Value
The Terminal Services session identifier for the associated process.
Exceptions
There is no session associated with this process.
There is no process associated with this session identifier.
-or-
The associated process is not on this machine.
Remarks
The SessionId property identifies the session in which the application is currently running.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre