使用英语阅读

通过


ProcessStartInfo.Domain 属性

定义

获取或设置确定要在启动进程时使用的域的值。 如果此值为 null,则必须以 UPN 格式指定 UserName 属性。

[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public string Domain { get; set; }
public string Domain { get; set; }

属性值

要在启动进程时使用的 Active Directory 域。 如果此值为 null,则必须以 UPN 格式指定 UserName 属性。

属性

注解

此属性主要对使用 Active Directory 的企业环境中的用户感兴趣。

适用于