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";  

适用于