SfcCollection<T, K, ParentT>.ISfcCollection.AddShadow 方法
Adds the specified object to the shadow collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Private Function AddShadow ( _
sfcInstance As SfcInstance _
) As Boolean Implements ISfcCollection.AddShadow
'用途
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 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- sfcInstance
型別:Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The SfcInstance object to add to the shadow collection.
傳回值
型別:System.Boolean
true if the object was successfully added; otherwise, false.
實作
ISfcCollection.AddShadow(SfcInstance)
備註
This method is used only during merging. For more information, see the ISfcCollection.PrepareMerge and ISfcCollection.FinishMerge methods.