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

適用対象