Condividi tramite


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.

Spazio dei nomi: Microsoft.SqlServer.Dts.Design
Assembly : Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

Sintassi

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

Valore proprietà

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

Osservazioni

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.

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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