ProcessStartInfo.Domain 属性

定义

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

public:
 property System::String ^ Domain { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public string Domain { get; set; }
public string Domain { get; set; }
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.Domain : string with get, set
member this.Domain : string with get, set
Public Property Domain As String

属性值

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

属性

注解

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

适用于