Partager via


Méthode SetPassword (String)

Sets the password for the user account.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Mail
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub SetPassword ( _
    password As String _
)
'Utilisation
Dim instance As MailServer
Dim password As String

instance.SetPassword(password)
public void SetPassword(
    string password
)
public:
void SetPassword(
    String^ password
)
member SetPassword : 
        password:string -> unit 
public function SetPassword(
    password : String
)

Paramètres