DownstreamServerCollection.Insert Method (Int32, IDownstreamServer)
Applies To: Windows Server Update Services
Inserts a downstream server into the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public void Insert(
int index,
IDownstreamServer value
)
public:
void Insert(
int index,
IDownstreamServer^ value
)
member Insert :
index:int *
value:IDownstreamServer -> unit
Public Sub Insert (
index As Integer,
value As IDownstreamServer
)
Parameters
index
Type: System.Int32The zero-based index at which to insert the downstream server into the collection.
value
Type: Microsoft.UpdateServices.Administration.IDownstreamServerThe IDownstreamServer to insert into the collection.
Exceptions
Exception
Condition
The downstream server already exists in this collection.
value cannot be null.
index cannot be less than zero or greater than the count of the collection.
See Also
Insert Overload
DownstreamServerCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top