MailServerCollection.Add Method

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    mailServer As MailServer _
)
'Usage
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
)