ProcessStartInfo.Domain 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值标识启动进程时要使用的域。 如果值为此值 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的企业环境中的用户感兴趣。