Método MailAccountCollection.Add
Adds a Microsoft.SqlServer.Management.Smo.Mail.MailAccount to this collection.
Namespace: Microsoft.SqlServer.Management.Smo.Mail
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub Add ( _
mailAccount As MailAccount _
)
'Uso
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
)
Parâmetros
- mailAccount
Tipo: Microsoft.SqlServer.Management.Smo.Mail.MailAccount
The Microsoft.SqlServer.Management.Smo.Mail.MailAccount to add to this collection.