共用方式為


IUpdateServer.GetUpdateCategory Method (Guid)

 

Applies To: Windows Server Update Services

Gets the category of updates for the given identifier.

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

Syntax

IUpdateCategory GetUpdateCategory(
    Guid id
)
IUpdateCategory^ GetUpdateCategory(
    Guid id
)
abstract GetUpdateCategory : 
        id:Guid -> IUpdateCategory
Function GetUpdateCategory (
    id As Guid
) As IUpdateCategory

Parameters

  • id
    Type: System.Guid

    Unique identifier of the category.

Return Value

Type: Microsoft.UpdateServices.Administration.IUpdateCategory

The requested IUpdateCategory which you can use to get information about the category or updates that belong to this category.

Exceptions

Exception

Condition

WsusObjectNotFoundException

Unable to find an update category with the given identifier.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top