Share via


DownstreamServerCollection.IndexOf(IDownstreamServer)

Determines if the collection contains the specified downstream server. If the collection contains the downstream server, the method returns the zero-based index to the downstream server in the collection.

public Int32 IndexOf(IDownstreamServervalue);
Public Function IndexOf( _
  ByVal value As IDownstreamServer _
) As Int32

Parameters

Return Value

Zero-based index of the downstream server in the collection if found; otherwise, -1.

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.