다음을 통해 공유


IsPasteActive 속성

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.dll의 Microsoft.SqlServer.Dts.Design

구문

‘선언
ReadOnly Property IsPasteActive As Boolean
    Get
‘사용 방법
Dim instance As IDtsClipboardService
Dim value As Boolean

value = instance.IsPasteActive
bool IsPasteActive { get; }
property bool IsPasteActive {
    bool get ();
}
abstract IsPasteActive : bool
function get IsPasteActive () : boolean

속성 값

형식: System. . :: . .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.