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
accountName
Type: System.StringA String value that specifies the name of the mail account.
Examples
Legacy Code Example
See Also
MailProfile Class
Microsoft.SqlServer.Management.Smo.Mail Namespace
Unable to find linked topic '14cbf88f-d9d1-41a5-994e-532e2973ac9e'.
Return to top