ComputerTargetGroupCollection.IndexOf(IComputerTargetGroup)
Determines if the collection contains the specified target group. If the collection contains the target group, the method returns the zero-based index to the target group in the collection.
public Int32 IndexOf(
IComputerTargetGroup value
);
Public Function IndexOf( _
ByVal value As IComputerTargetGroup _
) As Int32
Parameters
- value
An IComputerTargetGroup of the target group to locate in the collection.
Return Values
Zero-based index of the target group 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. |
See Also
ComputerTargetGroupCollection.Contains, ComputerTargetGroupCollection.Item