共用方式為


IDTSExecuteProcess.WindowStyle 屬性

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

Gets or sets the style of the window to run the process in.

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

語法

'宣告
Property WindowStyle As ProcessWindowStyle 
    Get 
    Set
'用途
Dim instance As IDTSExecuteProcess 
Dim value As ProcessWindowStyle 

value = instance.WindowStyle

instance.WindowStyle = value
ProcessWindowStyle WindowStyle { get; set; }
property ProcessWindowStyle WindowStyle {
    ProcessWindowStyle get ();
    void set (ProcessWindowStyle value);
}
abstract WindowStyle : ProcessWindowStyle with get, set
function get WindowStyle () : ProcessWindowStyle 
function set WindowStyle (value : ProcessWindowStyle)

屬性值

型別:System.Diagnostics.ProcessWindowStyle
A ProcessWindowStyle enumeration value indicating how the window appears when the process runs.

備註

Valid values include Normal, Maximized, Minimized or Hidden. For more information, see ProcessWindowStyle Enumeration in the .NET Framework Class Library.

請參閱

參考

IDTSExecuteProcess 介面

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