MailProfileCollection.Add Método
Adds a MailProfile to the collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Mail
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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
- mailProfile
Tipo: Microsoft.SqlServer.Management.Smo.Mail.MailProfile
The MailProfile to add to the collection.