共用方式為


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
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPPatchInfo
修補程式的資訊SPPatchInfo物件。

備註

如果找不到修補程式這個方法會傳回 null。

請參閱

參照

SPPatchableUnitInfo class

SPPatchableUnitInfo members

Microsoft.SharePoint.Administration namespace