Share via


SPProductVersions.GetProduct method

Information for a given product.

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

Syntax

'Declaration
Public Function GetProduct ( _
    productName As String _
) As SPProduct
'Usage
Dim instance As SPProductVersions
Dim productName As String
Dim returnValue As SPProduct

returnValue = instance.GetProduct(productName)
public SPProduct GetProduct(
    string productName
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPProduct
A SPProduct object or a null reference (Nothing in Visual Basic) if the product is not found.

See also

Reference

SPProductVersions class

SPProductVersions members

Microsoft.SharePoint.Administration namespace