ProcessStartInfo.Domain 屬性

定義

取得或設定一個值,以識別啟動程序時要使用的網域。 若此值為 nullUserName 則必須以 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 網域。 若此值為 nullUserName 則必須以 UPN 格式指定屬性。

屬性

備註

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

適用於