Share via


SPPatchableUnitInfo.GetPatchInfo method

Retrieves information about a given patch installed for this patchable unit.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetPatchInfo ( _
    patch As String _
) As SPPatchInfo
'Usage
Dim instance As SPPatchableUnitInfo
Dim patch As String
Dim returnValue As SPPatchInfo

returnValue = instance.GetPatchInfo(patch)
public SPPatchInfo GetPatchInfo(
    string patch
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPPatchInfo
A SPPatchInfo object with patch information.

Remarks

If the patch is not found this method returns null.

See also

Reference

SPPatchableUnitInfo class

SPPatchableUnitInfo members

Microsoft.SharePoint.Administration namespace