Compartir a través de


IUpdateServer.GetUpdateApproval Method (Guid)

 

Applies To: Windows Server Update Services

Gets the specified approval.

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

Syntax

IUpdateApproval GetUpdateApproval(
    Guid id
)
IUpdateApproval^ GetUpdateApproval(
    Guid id
)
abstract GetUpdateApproval : 
        id:Guid -> IUpdateApproval
Function GetUpdateApproval (
    id As Guid
) As IUpdateApproval

Parameters

  • id
    Type: System.Guid

    Identifier of the approval to get.

Return Value

Type: Microsoft.UpdateServices.Administration.IUpdateApproval

An IUpdateApproval that you can use to determine who approved the update and the current state of the approval.

Exceptions

Exception

Condition

WsusObjectNotFoundException

Unable to find an update approval with the given identifier.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top