SystemParameters.IsRemoteSession 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 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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για