MailServer.UserName 속성

Gets or sets the user name associated with the referenced mail server.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Mail
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property UserName As String 
    Get 
    Set
‘사용 방법
Dim instance As MailServer 
Dim value As String 

value = instance.UserName

instance.UserName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string UserName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ UserName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member UserName : string with get, set
function get UserName () : String 
function set UserName (value : String)

속성 값

유형: System.String
A String value that specifies the name of the user associated with the referenced mail server.

데이터베이스 메일 사용

참고 항목

참조

MailServer 클래스

Microsoft.SqlServer.Management.Smo.Mail 네임스페이스

관련 자료

데이터베이스 메일