Freigeben über


MSMQConn.Path-Eigenschaft

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)

Eigenschaftswert

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

Beispiele

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

msmqconn.Path = @"myServer\test";

Siehe auch

Verweis

MSMQConn Klasse

Microsoft.SqlServer.Dts.ManagedConnections-Namespace