Método MailServerCollection.Add
Adds a MailServer to the collection.
Namespace: Microsoft.SqlServer.Management.Smo.Mail
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub Add ( _
mailServer As MailServer _
)
'Uso
Dim instance As MailServerCollection
Dim mailServer As MailServer
instance.Add(mailServer)
public void Add(
MailServer mailServer
)
public:
void Add(
MailServer^ mailServer
)
member Add :
mailServer:MailServer -> unit
public function Add(
mailServer : MailServer
)
Parâmetros
- mailServer
Tipo: Microsoft.SqlServer.Management.Smo.Mail.MailServer
The MailServer to add to the collection.