ProcessStartInfo.Domain 屬性

定義

取得或設定值,識別在啟動處理序時要使用的網域。 如果此值為 null,則必須以 UPN 格式指定 UserName 屬性。

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,則必須以 UPN 格式指定 UserName 屬性。

屬性

備註

此屬性主要對使用 Active Directory 的企業環境中用戶感興趣。

適用於