共用方式為


SfcCollection<T, K, ParentT>.Remove 方法

Removes the specified object from the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public MustOverride Function Remove ( _
    obj As T _
) As Boolean
'用途
Dim instance As SfcCollection 
Dim obj As T
Dim returnValue As Boolean 

returnValue = instance.Remove(obj)
public abstract bool Remove(
    T obj
)
public:
virtual bool Remove(
    T obj
) abstract
abstract Remove : 
        obj:'T -> bool
public abstract function Remove(
    obj : T
) : boolean

參數

  • obj
    型別:T
    The object to remove.

傳回值

型別:System.Boolean
true if the object is successfully removed; otherwise, false.

實作

ICollection<T>.Remove(T)

請參閱

參考

SfcCollection<T, K, ParentT> 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間