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

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