Partager via


AdminProxy.GetUpdateServer Method

 

Applies To: Windows Server Update Services

Gets an IUpdateServer object that represents the WSUS server.

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

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetUpdateServer()

Gets an IUpdateServer object that represents the local WSUS server.

System_CAPS_pubmethodSystem_CAPS_static GetUpdateServer(String, Boolean)

Gets an IUpdateServer that represents a remote WSUS server of the given name.

System_CAPS_pubmethodSystem_CAPS_static GetUpdateServer(String, Boolean, Int32)

Gets an IUpdateServer that represents a remote WSUS server of the given name on the given port.

Remarks

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

See Also

AdminProxy Class
Microsoft.UpdateServices.Administration Namespace

Return to top