Partager via


Méthode RemoveAccount

Removes the association between a mail account and the referenced mail profile.

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

Syntaxe

'Déclaration
Public Sub RemoveAccount ( _
    accountName As String _
)
'Utilisation
Dim instance As MailProfile
Dim accountName As String

instance.RemoveAccount(accountName)
public void RemoveAccount(
    string accountName
)
public:
void RemoveAccount(
    String^ accountName
)
member RemoveAccount : 
        accountName:string -> unit 
public function RemoveAccount(
    accountName : String
)

Paramètres