共用方式為


LoginMode Enum

Definition

Defines values for LoginMode.

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum LoginMode
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
type LoginMode = 
Public Enum LoginMode
Inheritance
LoginMode
Attributes
Newtonsoft.Json.JsonConverterAttribute

Fields

Name Value Description
Batch 0

The LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.

Interactive 1

The LOGON32_LOGON_INTERACTIVE Win32 login mode. UAC is enabled on Windows Pools. If this option is used with an elevated user identity in a Windows Pool, the user session will not be elevated unless the application executed by the Task command line is configured to always require administrative privilege or to always require maximum privilege.

Applies to