Partager via


Méthode AddShadow

Adds the specified object to the shadow collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Protected MustOverride Function AddShadow ( _
    obj As T _
) As Boolean
'Utilisation
Dim obj As T
Dim returnValue As Boolean

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

Paramètres

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

Valeur de retour

Type : System. . :: . .Boolean
true if the specified object is added to the shadow collection; otherwise, false.

Notes

This method is used only during merging. For more information, see the PrepareMerge and FinishMerge methods.