Share via


SfcCollection<T, K, ParentT>.Remove Method

Removes the specified object from the 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
Public MustOverride Function Remove ( _
    obj As T _
) As Boolean
'Usage
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

Parameters

  • obj
    Type: T
    The object to remove.

Return Value

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

Implements

ICollection<T>.Remove(T)