Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets a value that indicates whether to launch the application as an admin.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Property RunAsAdmin As Boolean
public bool RunAsAdmin { get; set; }
public:
property bool RunAsAdmin {
bool get ();
void set (bool value);
}
member RunAsAdmin : bool with get, set
function get RunAsAdmin () : boolean
function set RunAsAdmin (value : boolean)
Property Value
Type: Boolean
true to launch as an admin; otherwise, false.
Remarks
For serialization, the value of the RunAsAdminWrapper is used instead.
Setting this property raises the PropertyChanged event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.