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