Partager via


IUpdateServer.IsPrerequisitePresent Method (Guid)

 

Applies To: Windows Server Update Services

Determines whether the prerequisite already exists on the WSUS server.

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

Syntax

bool IsPrerequisitePresent(
    Guid updateId
)
bool IsPrerequisitePresent(
    Guid updateId
)
abstract IsPrerequisitePresent : 
        updateId:Guid -> bool
Function IsPrerequisitePresent (
    updateId As Guid
) As Boolean

Parameters

  • updateId
    Type: System.Guid

    The GUID of the prerequisite.

Return Value

Type: System.Boolean

true if the prerequisite already exists on the server, otherwise false.

Exceptions

Exception

Condition

ArgumentOutOfRangeException

updateId is not valid.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top