Méthode MailAccountCollection.Add
Adds a Microsoft.SqlServer.Management.Smo.Mail.MailAccount to this collection.
Espace de noms : Microsoft.SqlServer.Management.Smo.Mail
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
mailAccount As MailAccount _
)
'Utilisation
Dim instance As MailAccountCollection
Dim mailAccount As MailAccount
instance.Add(mailAccount)
public void Add(
MailAccount mailAccount
)
public:
void Add(
MailAccount^ mailAccount
)
member Add :
mailAccount:MailAccount -> unit
public function Add(
mailAccount : MailAccount
)
Paramètres
- mailAccount
Type : Microsoft.SqlServer.Management.Smo.Mail.MailAccount
The Microsoft.SqlServer.Management.Smo.Mail.MailAccount to add to this collection.