SPPatchableUnitInfo.LatestPatchOnServer - Méthode
Récupère le dernier correctif installé sur le serveur donné.
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Function LatestPatchOnServer ( _
serverId As Guid _
) As SPPatchInfo
'Utilisation
Dim instance As SPPatchableUnitInfo
Dim serverId As Guid
Dim returnValue As SPPatchInfo
returnValue = instance.LatestPatchOnServer(serverId)
public SPPatchInfo LatestPatchOnServer(
Guid serverId
)
Paramètres
serverId
Type : System.GuidIdentificateur unique du serveur afin de récupérer les dernières informations de correctif.
Valeur renvoyée
Type : Microsoft.SharePoint.Administration.SPPatchInfo
Un objet SPPatchInfo avec les informations sur le correctif le plus récent.