Partilhar via


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

Return Value

Type: Microsoft.SharePoint.Administration.SPServerProductInfo.StatusType
A SPServerProductInfo.StatusType object.

See Also

Reference

SPProduct Class

SPProduct Members

Microsoft.SharePoint.Administration Namespace