Aracılığıyla paylaş


MailAccount.Rename Method

Renames the mail account.

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Sub Rename ( _
    newName As String _
)
'Kullanım
Dim instance As MailAccount
Dim newName As String

instance.Rename(newName)
public void Rename(
    string newName
)
public:
virtual void Rename(
    String^ newName
) sealed
abstract Rename : 
        newName:string -> unit 
override Rename : 
        newName:string -> unit 
public final function Rename(
    newName : String
)

Parameters

Implements

IRenamable.Rename(String)

Examples

Using Database Mail

See Also

Reference

MailAccount Class

Microsoft.SqlServer.Management.Smo.Mail Namespace

Other Resources

Database Mail