ComputerTargetCollection.Contains Method (IComputerTarget)

 

Applies To: Windows Server Update Services

Determines whether the specified ComputerTarget is in the ComputerTargetCollection.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public bool Contains(
    IComputerTarget value
)
public:
bool Contains(
    IComputerTarget^ value
)
member Contains : 
        value:IComputerTarget -> bool
Public Function Contains (
    value As IComputerTarget
) As Boolean

Parameters

Return Value

Type: System.Boolean

True, if value is found in the ComputerTargetCollection.

False, if value is not found in the ComputerTargetCollection.

See Also

IndexOf
Contains Overload
ComputerTargetCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top