Share via


SmtpNetworkElement.UserName 속성

정의

SMTP 메일 서버에 연결할 사용자 이름을 가져오거나 설정합니다.

public:
 property System::String ^ UserName { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("userName")]
public string UserName { get; set; }
[<System.Configuration.ConfigurationProperty("userName")>]
member this.UserName : string with get, set
Public Property UserName As String

속성 값

SMTP 메일 서버에 연결할 사용자 이름을 나타내는 문자열입니다.

특성

설명

설정 DefaultCredentials 설정 보다 우선 UserNamePassword입니다. UserNamePassword 경우에 사용 됩니다 DefaultCredentials 로 설정 된 false합니다.

적용 대상

추가 정보