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
)
參數
serverName
Type: System.String搜尋伺服器。
傳回值
Type: Microsoft.SharePoint.Administration.SPServerProductInfo.StatusType
需要的動作資訊SPServerProductInfo.StatusType物件。