MSMQConn.Path 屬性

定義

取得或設定檔案的路徑。

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String

屬性值

一個包含檔案路徑的字串。

範例

以下程式碼範例說明如何設定該 Path 屬性。

msmqconn.Path = @"myServer\test";  

適用於