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