ProcessStartInfo.Domain 屬性

定義

取得或設定值,識別在啟動處理序時要使用的網域。Gets or sets a value that identifies the domain to use when starting the process. 如果此值為 null,則必須以 UPN 格式指定 UserName 屬性。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); };
public string Domain { get; set; }
member this.Domain : string with get, set
Public Property Domain As String

屬性值

啟動處理序時,要使用的 Active Directory 網域。The Active Directory domain to use when starting the process. 如果此值為 null,則必須以 UPN 格式指定 UserName 屬性。If this value is null, the UserName property must be specified in UPN format.

備註

這個屬性主要是使用 Active Directory 之企業環境中的使用者所關心的內容。This property is primarily of interest to users within enterprise environments that use Active Directory.

適用於