Méthode MailServerCollection.Add
Adds a MailServer to the collection.
Espace de noms : Microsoft.SqlServer.Management.Smo.Mail
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
mailServer As MailServer _
)
'Utilisation
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
)
Paramètres
- mailServer
Type : Microsoft.SqlServer.Management.Smo.Mail.MailServer
The MailServer to add to the collection.