Freigeben über


Remove-Methode

Removes the specified object from the 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
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

Parameter

  • obj
    Typ: T
    The object to remove.

Rückgabewert

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

Implementiert

ICollection< (Of < ( <'T> ) > ) >. . :: . .Remove(T)