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