Freigeben über


AddShadow-Methode

Adds the specified object to the shadow collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

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

Parameter

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

Rückgabewert

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

Hinweise

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