MSMQConn.Path 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定檔案的路徑。
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";