AdminProxy.GetUpdateServer Method ()


Applies To: Windows Server Update Services

Gets an IUpdateServer object that represents the local WSUS server.

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

public static IUpdateServer GetUpdateServer()

Return Value

Type: Microsoft.UpdateServices.Administration.IUpdateServer

An object that implements the IUpdateServer interface.

Exception Condition

The server could not be contacted.

After getting IUpdateServer, you should call PreferredCulture to specify the language code that WSUS uses to return strings.

Return to top

Community Additions