Condividi tramite


Metodo ISfcCollection.AddShadow

Adds the specified object to the shadow collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Private Function AddShadow ( _
    sfcInstance As SfcInstance _
) As Boolean Implements ISfcCollection.AddShadow
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

Valore restituito

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

Implementa

ISfcCollection. . :: . .AddShadow(SfcInstance)

Osservazioni

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