Share via


IUpdateServer.GetUpdateCategory(Guid)

Retrieves the category of updates for the given identifier.

public IUpdateCategory GetUpdateCategory(
  Guid id
);
Public Function GetUpdateCategory( _
  ByVal id As Guid _
) As IUpdateCategory
Implements IUpdateServer.GetUpdateCategory

Parameters

  • id
    Unique identifier of the category.

Return Values

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

Exceptions

Exception type Condition
WsusObjectNotFoundException Unable to find an update category with the given identifier.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.

See Also

IUpdateCategory.ID