다음을 통해 공유


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)
Available in Sandboxed Solutions: No

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