Bagikan melalui


MailProfileCollection.Add Method

Adds a MailProfile to the collection.

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

Syntax

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

Parameters

Examples

Using Collections

See Also

Reference

MailProfileCollection Class

Microsoft.SqlServer.Management.Smo.Mail Namespace