Partager via


Path propriété

Gets or sets the path to the files.

Espace de noms :  Microsoft.SqlServer.Dts.ManagedConnections
Assembly :  Microsoft.SqlServer.ManagedConnections (dans Microsoft.SqlServer.ManagedConnections.dll)

Syntaxe

'Déclaration
Public Property Path As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Exemples

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

msmqconn.Path = @"myServer\test";