Share via


SPProduct.GetPatchableUnitInfoByDisplayName method

Retrieves information about the specified patchable unit installed on this server.

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

Syntax

'Declaration
Public Function GetPatchableUnitInfoByDisplayName ( _
    displayName As String _
) As List(Of SPPatchableUnitInfo)
'Usage
Dim instance As SPProduct
Dim displayName As String
Dim returnValue As List(Of SPPatchableUnitInfo)

returnValue = instance.GetPatchableUnitInfoByDisplayName(displayName)
public List<SPPatchableUnitInfo> GetPatchableUnitInfoByDisplayName(
    string displayName
)

Parameters

  • displayName
    Type: System.String

    Display name of the specified patchable unit.

Return value

Type: System.Collections.Generic.List<SPPatchableUnitInfo>
A List<T> object. If the specified patchable unit is not found the return object is set to a null reference (Nothing in Visual Basic).

Remarks

Note

There may be more than one unit with the same name.

See also

Reference

SPProduct class

SPProduct members

Microsoft.SharePoint.Administration namespace