Add 方法
Adds a MailServer to the collection.
命名空間: Microsoft.SqlServer.Management.Smo.Mail
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
mailServer As MailServer _
)
'用途
Dim instance As MailServerCollection
Dim mailServer As MailServer
instance.Add(mailServer)
public void Add(
MailServer mailServer
)
public:
void Add(
MailServer^ mailServer
)
member Add :
mailServer:MailServer -> unit
public function Add(
mailServer : MailServer
)
參數
- mailServer
型別:Microsoft.SqlServer.Management.Smo.Mail. . :: . .MailServer
The MailServer to add to the collection.