AdminProxy.GetUpdateServerInstance()

Retrieves an IUpdateServer that you use to communicate with the WSUS server.

public IUpdateServer GetUpdateServerInstance();
Public Function GetUpdateServerInstance() As IUpdateServer

Parameters

This method has no parameters.

Return Values

An IUpdateServer that you use to communicate with the WSUS server.

Remarks

The only difference between this method and the AdminProxy.GetUpdateServer method is that GetUpdateServer is a static method and this method is not. To use this method, you must first create an AdminProxy object.

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

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

AdminProxy.GetUpdateServer, IUpdateServer