SPPatchableUnitInfo.LatestPatchOnServer method
擷取指定之伺服器上安裝最新修補程式。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function LatestPatchOnServer ( _
serverId As Guid _
) As SPPatchInfo
'用途
Dim instance As SPPatchableUnitInfo
Dim serverId As Guid
Dim returnValue As SPPatchInfo
returnValue = instance.LatestPatchOnServer(serverId)
public SPPatchInfo LatestPatchOnServer(
Guid serverId
)
參數
serverId
Type: System.Guid若要擷取的最新的修補程式資訊之伺服器的唯一識別碼。
傳回值
Type: Microsoft.SharePoint.Administration.SPPatchInfo
具有最新的修補程式的詳細資訊的SPPatchInfo物件。