Compartilhar via


Propriedade do RDL Application.ComponentStorePath

Returns the path where pipeline components are stored. This property is read-only.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public ReadOnly Property ComponentStorePath As String 
    Get
'Uso
Dim instance As Application 
Dim value As String 

value = instance.ComponentStorePath
public string ComponentStorePath { get; }
public:
property String^ ComponentStorePath {
    String^ get ();
}
member ComponentStorePath : string
function get ComponentStorePath () : String

Valor da propriedade

Tipo: System.String
A String that indicates the location of the pipeline components.

Exemplos

The following example returns the path of the pipeline components, which is usually C:\Program Files\Microsoft SQL Server\100\DTS.

class ApplicationTests
    {
        static void Main(string[] args)
        {
            Application app = new Application();
            String pipelinecomp = app.ComponentStorePath;
            Console.WriteLine(pipelinecomp);
        }
    }
Class ApplicationTests
        Sub Main(ByVal args() As String)
            Dim app As Application =  New Application() 
            Dim pipelinecomp As String =  app.ComponentStorePath 
            Console.WriteLine(pipelinecomp)
        End Sub
End Class

Consulte também

Referência

Application Classe

Namespace Microsoft.SqlServer.Dts.Runtime