Метод MailProfileCollection.Add

Adds a MailProfile to the collection.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Mail
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub Add ( _
    mailProfile As MailProfile _
)
'Применение
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
)

Параметры

Примеры

Использование коллекций

См. также

Справочник

MailProfileCollection Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Mail