SPPatchableUnitInfo.GetPatchInfo method
擷取指定的修補程式安裝此 patchable 單位的相關資訊。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
Type: System.String尋求修補程式的名稱。
傳回值
Type: Microsoft.SharePoint.Administration.SPPatchInfo
修補程式的資訊SPPatchInfo物件。
備註
如果找不到修補程式這個方法會傳回 null。