共用方式為


Path 屬性

Gets or sets the path to the files.

命名空間:  Microsoft.SqlServer.Dts.ManagedConnections
組件:  Microsoft.SqlServer.ManagedConnections (在 Microsoft.SqlServer.ManagedConnections.dll 中)

語法

'宣告
Public Property Path As String
    Get
    Set
'用途
Dim instance As MSMQConn
Dim value As String

value = instance.Path

instance.Path = value
public string Path { get; set; }
public:
property String^ Path {
    String^ get ();
    void set (String^ value);
}
member Path : string with get, set
function get Path () : String
function set Path (value : String)

屬性值

型別:System. . :: . .String
A String that contains the path to the files.

範例

The following code sample shows how to set the Path property.

msmqconn.Path = @"myServer\test";