ProcessStartInfo.Domain 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,以識別啟動程序時要使用的網域。 若此值為 null, UserName 則必須以 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 網域。 若此值為 null, UserName 則必須以 UPN 格式指定屬性。
- 屬性
備註
此特性主要對企業環境中使用 Active Directory 的使用者感興趣。