Condividi tramite


Metodo AddShadow

Adds the specified object to the shadow collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Protected Overrides Function AddShadow ( _
    obj As T _
) As Boolean
'Utilizzo
Dim obj As T
Dim returnValue As Boolean

returnValue = Me.AddShadow(obj)
protected override bool AddShadow(
    T obj
)
protected:
virtual bool AddShadow(
    T obj
) override
abstract AddShadow : 
        obj:'T -> bool 
override AddShadow : 
        obj:'T -> bool 
protected override function AddShadow(
    obj : T
) : boolean

Parametri

  • obj
    Tipo: T
    The object to add to the shadow collection.

Valore restituito

Tipo: System. . :: . .Boolean
true if the object was successfully added; otherwise, false.

Osservazioni

This method is used only during merging (see the PrepareMerge and FinishMerge methods for more information).