ProcessStartInfo::Domain Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public:
property String^ Domain {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The Active Directory domain to use when starting the process. If this value is null, the UserName property must be specified in UPN format.

This property is primarily of interest to users within enterprise environments that use Active Directory.

.NET Framework
Available since 2.0
Return to top
Show: