Share via


SfcCollection<T, K, ParentT>.RemoveInternal Method

Marks the specified object for removal. The state of the object is set to ToBeDropped. The object will be removed when the parent is altered or dropped. 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
Protected Friend Function RemoveInternal ( _
    obj As T _
) As Boolean
'Usage
Dim obj As T
Dim returnValue As Boolean 

returnValue = Me.RemoveInternal(obj)
protected internal bool RemoveInternal(
    T obj
)
protected public:
bool RemoveInternal(
    T obj
)
member RemoveInternal : 
        obj:'T -> bool
function RemoveInternal(
    obj : T
) : boolean

Parameters

  • obj
    Type: T
    The object to remove.

Return Value

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

See Also

Reference

SfcCollection<T, K, ParentT> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace