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 Overrides Function AddShadow ( _
    obj As T _
) As Boolean
'Utilisation
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

Paramètres

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

Valeur de retour

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

Notes

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