Share via


SPServerProductInfo.GetSingleProductInfo method

Returns information about a given product installed on this server.

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

Syntax

'Declaration
Public Function GetSingleProductInfo ( _
    name As String _
) As SPProduct
'Usage
Dim instance As SPServerProductInfo
Dim name As String
Dim returnValue As SPProduct

returnValue = instance.GetSingleProductInfo(name)
public SPProduct GetSingleProductInfo(
    string name
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPProduct
A SPProduct object with the product information. If the product is not installed on this server return a null reference (Nothing in Visual Basic).

See also

Reference

SPServerProductInfo class

SPServerProductInfo members

Microsoft.SharePoint.Administration namespace