共用方式為


Edit 方法

Opens a user interface to edit a task.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Design
組件:  Microsoft.SqlServer.Dts.Design (在 Microsoft.SqlServer.Dts.Design.dll 中)

語法

'宣告
Function Edit ( _
    parentWindow As IWin32Window _
) As Boolean
'用途
Dim instance As IDtsLogProviderUI
Dim parentWindow As IWin32Window
Dim returnValue As Boolean

returnValue = instance.Edit(parentWindow)
bool Edit(
    IWin32Window parentWindow
)
bool Edit(
    IWin32Window^ parentWindow
)
abstract Edit : 
        parentWindow:IWin32Window -> bool 
function Edit(
    parentWindow : IWin32Window
) : boolean

參數

傳回值

型別:System. . :: . .Boolean
true indicates that the task properties were modified.

備註

This method is called when you want to open the user interface that implements editing capabilities. If the user does change any settings, the Boolean is set to true so you can handle changes. You use the UITypeName to get the qualified name of the assembly that implements the user interface of the task. If UITypeName is null, that means that the task is not editable, or does not have a user interface for editing.