MailProfileCollection.Add-Methode
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
)
Parameter
- mailProfile
Typ: Microsoft.SqlServer.Management.Smo.Mail.MailProfile
The MailProfile to add to the collection.