ComputerTargetGroupCollection.Item(Int32)
Retrieves or sets the member of the collection at the specified index.
public IComputerTargetGroup this[Int32index] {get; set;}
Public Property Item( _
ByVal index As Int32 _
) As IComputerTargetGroup
Parameters
- index
Zero-based index of the member to retrieve or set.
Exceptions
Exception type | Condition |
---|---|
System.ArgumentException | The target group already exists in this collection. |
System.ArgumentNullException | A member of the collection cannot be set to null. |
System.ArgumentOutOfRangeException | index cannot be less than zero or greater than ComputerTargetGroupCollection.Count. |
Remarks
This property is an indexer in C#.
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. |