Share via


MSMQConn.Path Property

Gets or sets the path to the files.

Namespace:  Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

Syntax

'Declaration
Public Property Path As String
    Get
    Set
'Usage
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)

Property Value

Type: System.String
A String that contains the path to the files.

Examples

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

msmqconn.Path = @"myServer\test";