IUpdateServer.GetDownstreamServer(String)
Retrieves an interface to the specified downstream WSUS server.
public IDownstreamServer GetDownstreamServer(Stringid);
Public Function GetDownstreamServer( _
ByVal id As String _
) As IDownstreamServer
Implements IUpdateServer.GetDownstreamServer
Parameters
- id
Unique identifier of the downstream server to retrieve.
Return Value
An IDownstreamServer that you can use to identify the full name of the downstream server or remove the server as a downstream server.
Exceptions
Exception type | Condition |
---|---|
System.ArgumentNullException | id cannot be null. |
WsusObjectNotFoundException | WSUS could not find a downstream server with the given identifier. |
Remarks
WSUS creates the identifier for the downstream WSUS server when the downstream server first talks to this WSUS server.
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. |