Dela via


SfcCollection<T, K, ParentT>.AddShadow Method

Adds the specified object to the shadow collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

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

Parameters

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

Return Value

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

Remarks

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

See Also

Reference

SfcCollection<T, K, ParentT> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace