共用方式為


IDTSExecuteProcess.WorkingDirectory 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets the directory in which the files specified in the Arguments property can be found.

命名空間:  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
組件:  Microsoft.SqlServer.ExecProcTask (在 Microsoft.SqlServer.ExecProcTask.dll 中)

語法

'宣告
Property WorkingDirectory As String 
    Get 
    Set
'用途
Dim instance As IDTSExecuteProcess 
Dim value As String 

value = instance.WorkingDirectory

instance.WorkingDirectory = value
string WorkingDirectory { get; set; }
property String^ WorkingDirectory {
    String^ get ();
    void set (String^ value);
}
abstract WorkingDirectory : string with get, set
function get WorkingDirectory () : String 
function set WorkingDirectory (value : String)

屬性值

型別:System.String
A String that contains the directory in which the files specified in the Arguments property can be found.

請參閱

參考

IDTSExecuteProcess 介面

Microsoft.SqlServer.Dts.Tasks.ExecuteProcess 命名空間