Hi all the experts,
I got stuck in the matter of extracting MS Patch data (Microsoft Security Bulletin ID).
Example: MS122-23
Currently i just can get the data for KB Articles data only.
From importing microsoft.UpdateServices.Administration.dll, could I know how to extract the security bulletin id data? Got any sample code?
Dim s As String = “”
For Each update As IUpdate In Updates
sSql = “INSERT INTO Patch_Info_WDB4(MSPatch,KBArticles) ” + _
“VALUES(‘” + update.SecurityBulletins.GetType().ToString + “‘, ‘” + update.Title.Replace(“‘”, “””).ToString + “‘)”
dbAccess.Open()
dbAccess.Execute(sSql)
dbAccess.Close()
Next