Share via


SPProductVersions.GetServerProductInfo Method

Retrieves product info for a given server.

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

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