MailProfile.RemoveAccount-Methode
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
'Declaration
Public Sub RemoveAccount ( _
accountName As String _
)
'Usage
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
)
Parameter
- accountName
Typ: System.String
A String value that specifies the name of the mail account.
Beispiele
Verwenden von Datenbank-E-Mail
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo.Mail-Namespace