言語

Application.ComponentStorePath プロパティ

定義

パイプラインコンポーネントが格納される経路を返します。 このプロパティは読み取り専用です。

public:
 property System::String ^ ComponentStorePath { System::String ^ get(); };
public string ComponentStorePath { get; }
member this.ComponentStorePath : string
Public ReadOnly Property ComponentStorePath As String

プロパティ値

パイプラインコンポーネントの位置を示す文字列です。

以下の例はパイプラインコンポーネントのパスを返します。通常は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

適用対象