MailAccountCollection.Add 方法
Adds a Microsoft.SqlServer.Management.Smo.Mail.MailAccount to this collection.
命名空间: Microsoft.SqlServer.Management.Smo.Mail
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
mailAccount As MailAccount _
)
用法
Dim instance As MailAccountCollection
Dim mailAccount As MailAccount
instance.Add(mailAccount)
public void Add(
MailAccount mailAccount
)
public:
void Add(
MailAccount^ mailAccount
)
member Add :
mailAccount:MailAccount -> unit
public function Add(
mailAccount : MailAccount
)
参数
- mailAccount
类型:Microsoft.SqlServer.Management.Smo.Mail.MailAccount
The Microsoft.SqlServer.Management.Smo.Mail.MailAccount to add to this collection.