MailServer.SetAccount 메서드 (String, String)

Sets the mail server account.

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

구문

‘선언
Public Sub SetAccount ( _
    userName As String, _
    password As String _
)
‘사용 방법
Dim instance As MailServer 
Dim userName As String 
Dim password As String

instance.SetAccount(userName, password)
public void SetAccount(
    string userName,
    string password
)
public:
void SetAccount(
    String^ userName, 
    String^ password
)
member SetAccount : 
        userName:string * 
        password:string -> unit
public function SetAccount(
    userName : String, 
    password : String
)

매개 변수

  • userName
    유형: System.String
    A string value that contains the username.

참고 항목

참조

MailServer 클래스

SetAccount 오버로드

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