Returns the path where pipeline components are stored. This property is read-only.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
語法
'宣告
Public ReadOnly Property ComponentStorePath As String
public string ComponentStorePath { get; }
public:
property String^ ComponentStorePath {
String^ get ();
}
/** @property */
public String get_ComponentStorePath ()
public function get ComponentStorePath () : String
屬性值
A String that indicates the location of the pipeline components.
範例
The following example returns the path of the pipeline components, which is usually C:\Program Files\Microsoft SQL Server\90\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
執行緒安全性
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
Application Class
Application Members
Microsoft.SqlServer.Dts.Runtime Namespace