次の方法で共有


MailAccountCollection.Add メソッド

Microsoft.SqlServer.Management.Smo.Mail.MailAccount をこのコレクションに追加します。

名前空間:  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
)

パラメーター

関連項目

参照

MailAccountCollection クラス

Microsoft.SqlServer.Management.Smo.Mail 名前空間