共用方式為


SPPatchableUnitInfo.GetStatus method

擷取的動作所需的此產品。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Function GetStatus ( _
    serverName As String _
) As SPServerProductInfo.StatusType
'用途
Dim instance As SPPatchableUnitInfo
Dim serverName As String
Dim returnValue As SPServerProductInfo.StatusType

returnValue = instance.GetStatus(serverName)
public SPServerProductInfo.StatusType GetStatus(
    string serverName
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPServerProductInfo.StatusType
需要的動作資訊SPServerProductInfo.StatusType物件。

請參閱

參照

SPPatchableUnitInfo class

SPPatchableUnitInfo members

Microsoft.SharePoint.Administration namespace