Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetUpdateServer Method ()

AdminProxy.GetUpdateServer Method ()

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 ()
public static IUpdateServer GetUpdateServer ()
public static function GetUpdateServer () : IUpdateServer

Return Value

An object that implements the IUpdateServer interface.

Exception typeCondition

The server could not be contacted.

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
© 2015 Microsoft