SynchronizationInfoCollection.Add Method (ISynchronizationInfo)
Applies To: Windows Server Update Services
Adds synchronization information to the end of the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public int Add(
ISynchronizationInfo value
)
public:
int Add(
ISynchronizationInfo^ value
)
member Add :
value:ISynchronizationInfo -> int
Public Function Add (
value As ISynchronizationInfo
) As Integer
Parameters
value
Type: Microsoft.UpdateServices.Administration.ISynchronizationInfoAn ISynchronizationInfo of the synchronization information to add.
Return Value
Type: System.Int32
Zero-based index at which the synchronization information was added to the collection.
Exceptions
Exception
Condition
The synchronization information already exists in the collection.
value cannot be null.
See Also
Add Overload
SynchronizationInfoCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top