SPPatchableUnitInfo.GetPatchInfo 方法
检索有关指定修补程序已安装了此可修补的单位信息。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetPatchInfo ( _
patch As String _
) As SPPatchInfo
用法
Dim instance As SPPatchableUnitInfo
Dim patch As String
Dim returnValue As SPPatchInfo
returnValue = instance.GetPatchInfo(patch)
public SPPatchInfo GetPatchInfo(
string patch
)
参数
patch
类型:System.String在寻求该修补程序的名称。
返回值
类型:Microsoft.SharePoint.Administration.SPPatchInfo
修补程序信息使用一个SPPatchInfo对象。
备注
如果此修补程序未找到此方法返回 null。