Share via


ISfcCollection.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
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Parameter

Rückgabewert

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

Implementiert

ISfcCollection. . :: . .AddShadow(SfcInstance)

Hinweise

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