LoginMode 枚举

定义

Defines values for LoginMode.

public enum LoginMode
继承
java.lang.Object
java.lang.Enum<LoginMode>
LoginMode

字段

BATCH

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

INTERACTIVE

The LOGON32_LOGON_INTERACTIVE Win32 login mode. UAC is enabled on Windows VirtualMachineConfiguration pools. If this option is used with an elevated user identity in a Windows VirtualMachineConfiguration 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.

方法

fromString(String value)

Parses a serialized value to a LoginMode instance.

public static LoginMode fromString(String value)

参数

value
String

the serialized value to parse.

返回

the parsed LoginMode object, or null if unable to parse.

toString()

public String toString()

参数

value
String

the serialized value to parse.

返回

String

适用于