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
- name
Type: System.String
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).