SystemParameters.IsRemoteSession Egenskap

Definition

Hämtar ett värde som anger om anropsprocessen är associerad med en Terminal Services-klientsession.

public:
 static property bool IsRemoteSession { bool get(); };
public static bool IsRemoteSession { [System.Security.SecurityCritical] get; }
public static bool IsRemoteSession { get; }
[<get: System.Security.SecurityCritical>]
static member IsRemoteSession : bool
static member IsRemoteSession : bool
Public Shared ReadOnly Property IsRemoteSession As Boolean

Egenskapsvärde

true om samtalsprocessen är associerad med en Terminal Services-klientsession; false om samtalsprocessen är associerad med terminalserverkonsolsessionen.

Attribut

Kommentarer

Det här systemmåttet används i en Terminal Services-miljö.

Mappar till SM_REMOTESESSION. Se GetSystemMetrics.

XAML-attributanvändning

< object property="{ SystemParameters.IsRemoteSession}"/>

Gäller för