다음을 통해 공유


SetAccount 메서드 (String, String)

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

구문

‘선언
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
)

매개 변수