Partilhar via


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

Return Value

Type: System.Collections.Generic.List<SPPatchInfo>
A List<T> of missing patches.

See Also

Reference

SPProduct Class

SPProduct Members

Microsoft.SharePoint.Administration Namespace