次の方法で共有


SPPatchableUnitInfo.LatestPatchOnServer method

Retrieves the latest patch installed on the given server.

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

Syntax

'Declaration
Public Function LatestPatchOnServer ( _
    serverId As Guid _
) As SPPatchInfo
'Usage
Dim instance As SPPatchableUnitInfo
Dim serverId As Guid
Dim returnValue As SPPatchInfo

returnValue = instance.LatestPatchOnServer(serverId)
public SPPatchInfo LatestPatchOnServer(
    Guid serverId
)

Parameters

  • serverId
    Type: System.Guid

    Unique identifier of the server to retrieve the latest patch information.

Return value

Type: Microsoft.SharePoint.Administration.SPPatchInfo
A SPPatchInfo object with information on the latest patch.

See also

Reference

SPPatchableUnitInfo class

SPPatchableUnitInfo members

Microsoft.SharePoint.Administration namespace