Udostępnij za pośrednictwem


SmsSummaryActionGroup.Remove Method

Removes the first occurrence of the specified item from the System.Collections.Generic.ICollection object. This method supports the Configuration Manager infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As SmsSummaryActionGroup
Dim item As SmsSummaryAction
Dim returnValue As Boolean

returnValue = instance.Remove(item)

Syntax

'Declaration
Public Function Remove ( _
    item As SmsSummaryAction _
) As Boolean
public bool Remove (
    SmsSummaryAction item
)
public:
virtual bool Remove (
    SmsSummaryAction^ item
) sealed
public final boolean Remove (
    SmsSummaryAction item
)
public final function Remove (
    item : SmsSummaryAction
) : boolean

Parameters

Return Value

true if the occurrence is removed; otherwise false.

Exceptions

Exception type Condition
NotSupportedException

The System.Collections.Generic.ICollection object is read-only.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsSummaryActionGroup Class
SmsSummaryActionGroup Members
Microsoft.ConfigurationManagement.AdminConsole Namespace