Compartilhar via


Propriedade Path

Gets or sets the path to the files.

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

Sintaxe

'Declaração
Public Property Path As String
    Get
    Set
'Uso
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)

Valor da propriedade

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

Exemplos

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

msmqconn.Path = @"myServer\test";