SPProduct.GetRequiredButMissingPatches Method
Retrieves a list containing all the required but missing patchable units on a server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetRequiredButMissingPatches ( _
serverInfo As SPServerProductInfo _
) As List(Of SPPatchInfo)
'Usage
Dim instance As SPProduct
Dim serverInfo As SPServerProductInfo
Dim returnValue As List(Of SPPatchInfo)
returnValue = instance.GetRequiredButMissingPatches(serverInfo)
public List<SPPatchInfo> GetRequiredButMissingPatches(
SPServerProductInfo serverInfo
)
Parameters
serverInfo
Type: Microsoft.SharePoint.Administration.SPServerProductInfoInformation about the server to check.
Return Value
Type: System.Collections.Generic.List<SPPatchInfo>
A List<T> of missing patches.