Compartir a través de


SetAccount Método (String, String)

Sets the mail server account.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Mail
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub SetAccount ( _
    userName As String, _
    password As String _
)
'Uso
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
)

Parámetros