Share via


SfcCollection<T, K, ParentT>.ISfcCollection.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
Private Function AddShadow ( _
    sfcInstance As SfcInstance _
) As Boolean Implements ISfcCollection.AddShadow
'Usage
Dim instance As SfcCollection
Dim sfcInstance As SfcInstance
Dim returnValue As Boolean

returnValue = CType(instance, ISfcCollection).AddShadow(sfcInstance)
bool ISfcCollection.AddShadow(
    SfcInstance sfcInstance
)
private:
virtual bool AddShadow(
    SfcInstance^ sfcInstance
) sealed = ISfcCollection::AddShadow
private abstract AddShadow : 
        sfcInstance:SfcInstance -> bool 
private override AddShadow : 
        sfcInstance:SfcInstance -> bool 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

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

Implements

ISfcCollection.AddShadow(SfcInstance)

Remarks

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