DownstreamServerCollection.IndexOf Method (IDownstreamServer)
Applies To: Windows Server Update Services
Determines whether the collection contains the specified downstream server. If it does, the method returns the zero-based index to the downstream server in the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public int IndexOf(
IDownstreamServer value
)
public:
int IndexOf(
IDownstreamServer^ value
)
member IndexOf :
value:IDownstreamServer -> int
Public Function IndexOf (
value As IDownstreamServer
) As Integer
Parameters
value
Type: Microsoft.UpdateServices.Administration.IDownstreamServerThe IDownstreamServer to find in the collection.
Return Value
Type: System.Int32
The zero-based index of the downstream server in the collection if found, otherwise -1.
See Also
IndexOf Overload
DownstreamServerCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top