語言

Publish.CreateMailBox(String, String, String, String, String, String) 方法

定義

在指定的 URL 建立一個啟用 SOAP 的 COM+ 應用信箱。 還沒完全實作。

public:
 virtual void CreateMailBox(System::String ^ RootMailServer, System::String ^ MailBox, [Runtime::InteropServices::Out] System::String ^ % SmtpName, [Runtime::InteropServices::Out] System::String ^ % Domain, [Runtime::InteropServices::Out] System::String ^ % PhysicalPath, [Runtime::InteropServices::Out] System::String ^ % Error);
public void CreateMailBox(string RootMailServer, string MailBox, out string SmtpName, out string Domain, out string PhysicalPath, out string Error);
abstract member CreateMailBox : string * string * string * string * string * string -> unit
override this.CreateMailBox : string * string * string * string * string * string -> unit
Public Sub CreateMailBox (RootMailServer As String, MailBox As String, ByRef SmtpName As String, ByRef Domain As String, ByRef PhysicalPath As String, ByRef Error As String)

參數

RootMailServer
String

根郵件伺服器的網址。

MailBox
String

要創造信箱。

SmtpName
String

當此方法回傳時,該參數包含包含該信箱的簡易郵件傳輸協定(SMTP)伺服器名稱。

Domain
String

當此方法回傳時,該參數包含 SMTP 伺服器的網域。

PhysicalPath
String

當此方法回傳時,該參數包含該信箱的檔案系統路徑。

Error
String

當此方法回傳時,若遇到問題,該參數會包含錯誤訊息。

實作

例外狀況

呼叫鏈中的呼叫者沒有權限存取非管理程式碼。

備註

尚未完全實施;不會建立信箱。 回傳錯誤訊息「COM+ SOAP 服務 SMTP 發佈不支援」。

適用於