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
public string Path { get; set; }
public:
property String^ Path {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Path ()

/** @property */
public void set_Path (String value)
public function get Path () : String

public function set Path (value : String)

Property Value

A String that contains the path to the files.

Example

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

msmqconn.Path = @"myServer\test";

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MSMQConn Class
MSMQConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace