共用方式為


Application.ComponentStorePath Property

Definition

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

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

Property Value

A String that indicates the location of the pipeline components.

Examples

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

Applies to