Export (0) Print
Expand All
2 out of 3 rated this helpful - Rate this topic

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
WebException

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.