ProcessStartInfo.Domain Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that identifies the domain to use when starting the process. If this value is null, the UserName property must be specified in UPN format.
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, setmember this.Domain : string with get, setPublic Property Domain As StringProperty Value
The Active Directory domain to use when starting the process. If this value is null, the UserName property must be specified in UPN format.
- Attributes
Remarks
This property is primarily of interest to users within enterprise environments that use Active Directory.