Bagikan melalui


Application.ComponentStorePath Properti

Definisi

Mengembalikan jalur tempat komponen alur disimpan. Properti ini bersifat hanya baca.

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

Nilai Properti

String yang menunjukkan lokasi komponen alur.

Contoh

Contoh berikut mengembalikan jalur komponen alur, yang biasanya 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

Berlaku untuk