DownstreamServerCollection.Add Method (IDownstreamServer)
Applies To: Windows Server Update Services
Adds a downstream server to the end of the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public int Add(
IDownstreamServer value
)
public:
int Add(
IDownstreamServer^ value
)
member Add :
value:IDownstreamServer -> int
Public Function Add (
value As IDownstreamServer
) As Integer
Parameters
value
Type: Microsoft.UpdateServices.Administration.IDownstreamServerAn IDownstreamServer of the downstream server to add.
Return Value
Type: System.Int32
The zero-based index at which the downstream server was added to the collection.
Exceptions
Exception
Condition
The downstream server already exists in the collection.
value cannot be null.
See Also
Add Overload
DownstreamServerCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top