ServiceInstallerDialog.Username 属性

定义

获取或设置服务帐户窗体的用户名。Gets or sets the user name for the service account form.

public:
 property System::String ^ Username { System::String ^ get(); void set(System::String ^ value); };
public string Username { get; set; }
member this.Username : string with get, set
Public Property Username As String

属性值

String

一个字符串,表示服务帐户窗体中的用户名。A string representing the user name in the service account form. 默认值为空字符串("")。The default is an empty string ("").

注解

ServiceInstallerDialog 验证 UsernamePassword 值。The ServiceInstallerDialog does not validate the Username or Password values.

适用于