共用方式為


IDtsClipboardService.IsPasteActive Property

Gets a Boolean that indicates whether or not paste operations are currently active. Tasks and components can use this value to see if they were generated as a result of a paste operation.

命名空間: Microsoft.SqlServer.Dts.Design
組件: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

語法

'宣告
ReadOnly Property IsPasteActive As Boolean
bool IsPasteActive { get; }
property bool IsPasteActive {
    bool get ();
}
/** @property */
boolean get_IsPasteActive ()
function get IsPasteActive () : boolean

屬性值

A Boolean indicating whether or not paste operations are currently active. A value of true indicates that the paste operations are currently active.

備註

This Boolean is used by the New method to see if the method was called as a result of a paste operation. If so, a new name may need to be assigned so duplicate names are not found on two tasks or transforms in the user interface.

Component user interfaces can also use this property. As an example, the Script component user interface uses this method to generate a unique VsaProjectName when script components are copied and pasted.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

IDtsClipboardService Interface
IDtsClipboardService Members
Microsoft.SqlServer.Dts.Design Namespace