ServiceInstallerDialog.Result Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the dialog result for the service account form.
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
Property Value
A ServiceInstallerDialogResult indicating the user response to the dialog box. The default is OK
.
Remarks
Use ShowDialog to prompt the user for the service installation account, then check the Result value. If the value is OK, verify that the input Username and Password are valid.
Applies to
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.