SPProduct.GetPatchableUnitInfo Method
Retrieves information about the specified patchable unit installed on this server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetPatchableUnitInfo ( _
unit As String _
) As SPPatchableUnitInfo
'Usage
Dim instance As SPProduct
Dim unit As String
Dim returnValue As SPPatchableUnitInfo
returnValue = instance.GetPatchableUnitInfo(unit)
public SPPatchableUnitInfo GetPatchableUnitInfo(
string unit
)
Parameters
unit
Type: System.StringThe specified patchable unit.
Return Value
Type: Microsoft.SharePoint.Administration.SPPatchableUnitInfo
A SPPatchableUnitInfo object with patchable unit information on this server. If the specified unit is not found the return object is set to a null reference (Nothing in Visual Basic).