Share via


SPProductVersions.GetServerProductInfo method

Retrieves product info for a given server.

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

Syntax

'Declaration
Public Function GetServerProductInfo ( _
    serverIdGuid As Guid _
) As SPServerProductInfo
'Usage
Dim instance As SPProductVersions
Dim serverIdGuid As Guid
Dim returnValue As SPServerProductInfo

returnValue = instance.GetServerProductInfo(serverIdGuid)
public SPServerProductInfo GetServerProductInfo(
    Guid serverIdGuid
)

Parameters

  • serverIdGuid
    Type: System.Guid

    Unique identifier of the server from which to retrieve product information.

Return value

Type: Microsoft.SharePoint.Administration.SPServerProductInfo
A SPServerProductInfo object with information about the server. Returns null if the server is not found.

See also

Reference

SPProductVersions class

SPProductVersions members

Microsoft.SharePoint.Administration namespace