Compartilhar via


Método Add

Adds a MailProfile to the collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    mailProfile As MailProfile _
)
'Uso
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
)

Parâmetros