MailProfile.RemoveAccount Method (String)

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

public void RemoveAccount(
    string accountName
)
public:
void RemoveAccount(
    String^ accountName
)
member RemoveAccount : 
        accountName:string -> unit
Public Sub RemoveAccount (
    accountName As String
)

Parameters

Examples

Legacy Code Example

Using Database Mail

See Also

MailProfile Class
Microsoft.SqlServer.Management.Smo.Mail Namespace

Unable to find linked topic '14cbf88f-d9d1-41a5-994e-532e2973ac9e'.

Return to top