LaunchApplicationAction.RunAsAdmin Property
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
public bool RunAsAdmin { get; set; }
public:
property bool RunAsAdmin {
bool get();
void set(bool value);
}
member RunAsAdmin : bool with get, set
Public Property RunAsAdmin As Boolean
Property Value
Type: System.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.
See Also
PropertyChanged
RunAsAdminWrapper
LaunchApplicationAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top