Méthode Add
Adds a MailProfile 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 ( _
mailProfile As MailProfile _
)
'Utilisation
Dim instance As MailProfileCollection
Dim mailProfile As MailProfile
instance.Add(mailProfile)
public void Add(
MailProfile mailProfile
)
public:
void Add(
MailProfile^ mailProfile
)
member Add :
mailProfile:MailProfile -> unit
public function Add(
mailProfile : MailProfile
)
Paramètres
- mailProfile
Type : Microsoft.SqlServer.Management.Smo.Mail. . :: . .MailProfile
The MailProfile to add to the collection.
Voir aussi