Επεξεργασία

Κοινή χρήση μέσω


SystemParameters.IsRemoteSession Property

Definition

Gets a value that indicates whether the calling process is associated with a Terminal Services client session.

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

Property Value

true if the calling process is associated with a Terminal Services client session; false if the calling process is associated with the Terminal Server console session.

Attributes

Remarks

This system metric is used in a Terminal Services environment.

Maps to SM_REMOTESESSION. See GetSystemMetrics.

XAML attribute usage

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

Applies to