SPProduct.GetStatus Method
Retrieve required actions for this product.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetStatus ( _
serverName As String _
) As SPServerProductInfo.StatusType
'Usage
Dim instance As SPProduct
Dim serverName As String
Dim returnValue As SPServerProductInfo.StatusType
returnValue = instance.GetStatus(serverName)
public SPServerProductInfo.StatusType GetStatus(
string serverName
)
Parameters
serverName
Type: System.StringServer to check status for.
Return Value
Type: Microsoft.SharePoint.Administration.SPServerProductInfo.StatusType
A SPServerProductInfo.StatusType object.