Share via


AutomaticUpdateApprovalRuleCollection.Contains Method (IAutomaticUpdateApprovalRule)

 

Applies To: Windows Server Update Services

Determines whether the specified IAutomaticUpdateApprovalRule object is in the AutomaticUpdateApprovalRuleCollection.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean

true if value is found in the AutomaticUpdateApprovalRuleCollection, otherwise false.

See Also

Contains Overload
AutomaticUpdateApprovalRuleCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top