Share via


IDownstreamServer.GetParentServer Method ()

 

Applies To: Windows Server Update Services

Gets the server from which this server 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

Gets the server from which this server last synchronized.

Exceptions

Exception

Condition

InvalidOperationException

SyncsFromDownstreamServer is false.

WsusObjectNotFoundException

The parent server could not be found in the database.

See Also

IDownstreamServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top