IComputerTarget.GetParentServer Method ()

 

Applies To: Windows Server Update Services

Gets the server from which this computer last synchronized.

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

Syntax

IDownstreamServer GetParentServer()
IDownstreamServer^ GetParentServer()
abstract GetParentServer : unit -> IDownstreamServer
Function GetParentServer As IDownstreamServer

Return Value

Type: Microsoft.UpdateServices.Administration.IDownstreamServer

The downstream server from which this computer last synchronized.

Exceptions

Exception

Condition

WsusObjectNotFoundException

The parent server could not be found in the database.

InvalidOperationException

SyncsFromDownstreamServer is false.

Remarks

.

See Also

IComputerTarget Interface
Microsoft.UpdateServices.Administration Namespace

Return to top