語言

ServiceInstallerDialog.Result 屬性

定義

會取得服務帳戶表單的對話結果。

public:
 property System::ServiceProcess::Design::ServiceInstallerDialogResult Result { System::ServiceProcess::Design::ServiceInstallerDialogResult get(); };
public System.ServiceProcess.Design.ServiceInstallerDialogResult Result { get; }
member this.Result : System.ServiceProcess.Design.ServiceInstallerDialogResult
Public ReadOnly Property Result As ServiceInstallerDialogResult

屬性值

A ServiceInstallerDialogResult 表示使用者對對話框的回應。 預設值為 OK。

備註

請用 ShowDialog 提示使用者輸入服務安裝帳號,然後檢查 Result 數值。 若值為 OK,則驗證輸入 Username 與 Password 是否有效。

適用於

另請參閱