Partilhar via


SPProductVersions.GetProduct Method

Information for a given product.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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